diff --git a/ee/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql b/ee/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql index 9c7e75b95..ee01e24e0 100644 --- a/ee/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql +++ b/ee/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql @@ -171,7 +171,7 @@ DO $$ BEGIN IF (NOT EXISTS(SELECT 1 FROM metrics WHERE metric_type = 'funnel') AND - EXISTS(SELECT 1 FROM app.public.funnels WHERE deleted_at ISNULL)) + EXISTS(SELECT 1 FROM funnels WHERE deleted_at ISNULL)) THEN ALTER TABLE IF EXISTS metrics ADD COLUMN IF NOT EXISTS _funnel_filter jsonb NULL; diff --git a/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql b/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql index bec9bdff3..2ed45dea7 100644 --- a/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql +++ b/scripts/helm/db/init_dbs/postgresql/1.7.0/1.7.0.sql @@ -158,7 +158,7 @@ DO $$ BEGIN IF (NOT EXISTS(SELECT 1 FROM metrics WHERE metric_type = 'funnel') AND - EXISTS(SELECT 1 FROM app.public.funnels WHERE deleted_at ISNULL)) + EXISTS(SELECT 1 FROM funnels WHERE deleted_at ISNULL)) THEN ALTER TABLE IF EXISTS metrics ADD COLUMN IF NOT EXISTS _funnel_filter jsonb NULL;