aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/api/viewsets
diff options
context:
space:
mode:
authorGravatar mbaruh <[email protected]>2023-01-27 23:37:26 +0200
committerGravatar mbaruh <[email protected]>2023-01-28 03:09:23 +0200
commit5f538e9e876adc7f4a459fe230b46bdde61b3f64 (patch)
tree566637dc16d73e0c2cd025db46b85999f136246b /pydis_site/apps/api/viewsets
parentMerge 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/viewsets')
0 files changed, 0 insertions, 0 deletions