Protect Your Data with PostgreSQL Constraints
Ecto embraces database constraints as the correct way to guarantee consistency in your database. (I helped with that code.) But do you know how to use them?
I’ve recently updated Protect Your Data with PostgreSQL Constraints to show the power and flexibility of features like exclusion constraints.