P5-6106 Remove territory and language columns from i18n-texts_data (#142)

This commit is contained in:
fredrikphotowall
2020-11-11 12:45:58 +01:00
committed by GitHub
parent 417c995ad9
commit 9b387ec032
+9
View File
@@ -0,0 +1,9 @@
-- P5-6106 Remove territory and language columns from i18n-texts_data
ALTER TABLE "i18n-texts_data" DROP CONSTRAINT "i18n-texts_data_language_fkey";
ALTER TABLE "i18n-texts_data" DROP CONSTRAINT "i18n-texts_data_territory_fkey";
ALTER TABLE "i18n-texts_data" DROP COLUMN territory;
ALTER TABLE "i18n-texts_data" DROP COLUMN language;
ALTER TABLE "i18n-texts_data" ADD PRIMARY KEY (textid, locale_id);