Check a complex "unique" constraint with Ecto

Thank you! I didn’t know that creating a unique index actually creates a constraint.