Complex Unique Constraints with PostgreSQL Triggers in Ecto
How to enforce a uniqueness rule that a unique index can't express with a PostgreSQL trigger, and still get an ordinary Ecto changeset validation error.
1 article
How to enforce a uniqueness rule that a unique index can't express with a PostgreSQL trigger, and still get an ordinary Ecto changeset validation error.