From c0a9902ef977db08f6e93c866addf6ace7911ee5 Mon Sep 17 00:00:00 2001 From: fredrikphotowall <35255659+fredrikphotowall@users.noreply.github.com> Date: Fri, 13 Nov 2020 16:20:04 +0100 Subject: [PATCH] P5-6290 Add unique constraint to market_locales (#153) --- migrations/000.268.sql | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 migrations/000.268.sql diff --git a/migrations/000.268.sql b/migrations/000.268.sql new file mode 100644 index 0000000..393e182 --- /dev/null +++ b/migrations/000.268.sql @@ -0,0 +1,3 @@ +-- P5-6290: Add unique constraint to market_locales + +ALTER TABLE market_locales ADD UNIQUE (market_id, locale_id);