From b80bba2e857a3dfcf0dce38e4044b6d3f3d87a41 Mon Sep 17 00:00:00 2001 From: Taha Yassine Kraiem Date: Mon, 29 Aug 2022 18:23:09 +0100 Subject: [PATCH] feat(DB): fixed new type issue --- ee/scripts/helm/db/init_dbs/postgresql/init_schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ee/scripts/helm/db/init_dbs/postgresql/init_schema.sql b/ee/scripts/helm/db/init_dbs/postgresql/init_schema.sql index e1b718bc0..1a8da17ab 100644 --- a/ee/scripts/helm/db/init_dbs/postgresql/init_schema.sql +++ b/ee/scripts/helm/db/init_dbs/postgresql/init_schema.sql @@ -824,7 +824,7 @@ $$ IF NOT EXISTS(SELECT * FROM pg_type typ - WHERE typ.typname = 'alert_detection_method') THEN + WHERE typ.typname = 'alert_change_type') THEN CREATE TYPE alert_change_type AS ENUM ('percent', 'change'); END IF;