John WilgerProjohnwilger.comยทFeb 16, 2020Complex Unique Constraints with PostgreSQL Triggers in EctoEcto 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...57 readsectoAdd a thoughtful commentNo comments yetBe the first to start the conversation.