From 8d2d5b87ac83446d86e6a9cd0721f088790bf163 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 17:56:51 +0300 Subject: [PATCH] Fix migrate SQL --- apps/location/migrations/migrate_lang.sql | 3 +++ apps/location/migrations/remigrate_lang.sql | 2 ++ 2 files changed, 5 insertions(+) diff --git a/apps/location/migrations/migrate_lang.sql b/apps/location/migrations/migrate_lang.sql index 25364e64..5df451fa 100644 --- a/apps/location/migrations/migrate_lang.sql +++ b/apps/location/migrations/migrate_lang.sql @@ -1,3 +1,6 @@ +SET search_path TO gm, public; + + delete from comment_comment as cc; delete from location_country_languages; delete from translation_language as tl; diff --git a/apps/location/migrations/remigrate_lang.sql b/apps/location/migrations/remigrate_lang.sql index 35033cdb..94eb79d4 100644 --- a/apps/location/migrations/remigrate_lang.sql +++ b/apps/location/migrations/remigrate_lang.sql @@ -1,3 +1,5 @@ +SET search_path TO gm, public; + CREATE TABLE codelang ( code varchar(100) NULL, country varchar(10000) NULL