Postgres Unique Constraint On Two Columns Of Matrices