Add unique locale and collections constraint (#319)

This commit is contained in:
Fredrik Ringqvist
2023-04-26 10:42:54 +02:00
committed by GitHub
parent 6f472692dd
commit 4fe3869454
+2
View File
@@ -0,0 +1,2 @@
-- Add unique collection id and locale id constraint on collections_texts
ALTER TABLE collections_texts ADD UNIQUE (collection_id, locale_id);