Complex Unique Constraints with PostgreSQL Triggers in Ecto
Ecto makes it easy to work with typical uniqueness constraints in your database; you just define your table like this: defmodule MyApp.Repo.Migrations.CreateFoos do use Ecto.Migration def change do create table(:foos) do add :name, :te...
Feb 16, 20206 min read122


