From 2f734f8a6c9549cd3f9da5c84d74c9e46b51935a Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Wed, 9 Feb 2022 18:02:51 +0100 Subject: [PATCH] feat(db): changed delta files --- ee/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql | 4 ++-- scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ee/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql b/ee/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql index 793b8fa21..2ccc60080 100644 --- a/ee/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql +++ b/ee/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql @@ -5,8 +5,8 @@ $$ SELECT 'v1.5.0-ee' $$ LANGUAGE sql IMMUTABLE; -ALTER TYPE public.error_source ADD VALUE IF NOT EXISTS 'elasticsearch'; ALTER TABLE public.metrics ADD COLUMN IF NOT EXISTS active boolean NOT NULL DEFAULT TRUE; -COMMIT; \ No newline at end of file +COMMIT; +ALTER TYPE public.error_source ADD VALUE IF NOT EXISTS 'elasticsearch'; -- cannot add new value inside a transaction block \ No newline at end of file diff --git a/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql b/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql index 92c8bced7..cd386f5ab 100644 --- a/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql +++ b/scripts/helm/db/init_dbs/postgresql/1.5.0/1.5.0.sql @@ -5,8 +5,8 @@ $$ SELECT 'v1.5.0' $$ LANGUAGE sql IMMUTABLE; -ALTER TYPE public.error_source ADD VALUE IF NOT EXISTS 'elasticsearch'; ALTER TABLE public.metrics ADD COLUMN IF NOT EXISTS active boolean NOT NULL DEFAULT TRUE; -COMMIT; \ No newline at end of file +COMMIT; +ALTER TYPE public.error_source ADD VALUE IF NOT EXISTS 'elasticsearch'; -- cannot add new value inside a transaction block \ No newline at end of file