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;