Making nulls distinct in Postgres < 15
(1 min read) From the postgres docs on unique indexes: When an index is declared unique, multiple table rows with equal indexed values are not allowed. Null values are not considered equal. A multicolumn unique index will only reject cases where all indexed columns are equal in multiple rows. Unfortunately, disabling distinct null