Files
Rikard BartholfandGitHub ddcbd0afb0 Archive old migrations (#426)
* Archive old migrations

* Fix invalid placement of migrations
2024-10-17 11:19:12 +02:00

10 lines
404 B
SQL

-- 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);