From 275c5b467c45bfa97351927b487b9a83a2e8aa59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B8=D0=BA=D1=82=D0=BE=D1=80=20=D0=93=D0=BB=D0=B0?= =?UTF-8?q?=D0=B4=D0=BA=D0=B8=D1=85?= Date: Mon, 14 Oct 2019 18:15:17 +0300 Subject: [PATCH] fixa --- apps/location/migrations/migrate_lang.sql | 11 ----------- apps/location/migrations/remigrate_lang.sql | 5 ----- 2 files changed, 16 deletions(-) diff --git a/apps/location/migrations/migrate_lang.sql b/apps/location/migrations/migrate_lang.sql index 5df451fa..11c93573 100644 --- a/apps/location/migrations/migrate_lang.sql +++ b/apps/location/migrations/migrate_lang.sql @@ -1,21 +1,10 @@ SET search_path TO gm, public; - -delete from comment_comment as cc; -delete from location_country_languages; -delete from translation_language as tl; -delete from location_country as lc; - CREATE TABLE codelang ( code varchar(100) NULL, country varchar(10000) NULL ); --- Permissions - -ALTER TABLE codelang OWNER TO postgres; -GRANT ALL ON TABLE codelang TO postgres; - INSERT INTO codelang (code,country) VALUES ('af','Afrikaans') diff --git a/apps/location/migrations/remigrate_lang.sql b/apps/location/migrations/remigrate_lang.sql index 94eb79d4..160ac93e 100644 --- a/apps/location/migrations/remigrate_lang.sql +++ b/apps/location/migrations/remigrate_lang.sql @@ -5,11 +5,6 @@ CREATE TABLE codelang ( country varchar(10000) NULL ); --- Permissions - -ALTER TABLE codelang OWNER TO postgres; -GRANT ALL ON TABLE codelang TO postgres; - INSERT INTO codelang (code,country) VALUES ('af','Afrikaans')