diff options
author | 2023-01-27 23:37:26 +0200 | |
---|---|---|
committer | 2023-01-28 03:09:23 +0200 | |
commit | 5f538e9e876adc7f4a459fe230b46bdde61b3f64 (patch) | |
tree | 566637dc16d73e0c2cd025db46b85999f136246b /pydis_site/apps/api/models | |
parent | Merge branch 'main' into new-filter-schema (diff) |
Make filter unique constraint use NULLS NOT DISTINCT
The existing constraint was ineffective as null values were considered distinct, and so two filters with the same content and no overrides were considered different.
This change uses a new PSQL 15 feature unsupported in django currently, and so it is added with raw SQL.
Diffstat (limited to 'pydis_site/apps/api/models')
0 files changed, 0 insertions, 0 deletions