diff --git a/ee/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql b/ee/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql index fbedb48a0..460cebf6d 100644 --- a/ee/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql +++ b/ee/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql @@ -41,6 +41,10 @@ WHERE metric_of IN ('domainsErrors4xx', 'domainsErrors5xx', 'countSessions', 'speedLocation', 'avgVisitedPages') OR metric_type IN ('webVitals', 'errors', 'performance', 'resources'); +UPDATE public.metrics +SET view_type='chart' +WHERE metric_type = 'funnel'; + COMMIT; \elif :is_next diff --git a/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql b/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql index a08ba5048..1ca6750d5 100644 --- a/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql +++ b/scripts/schema/db/init_dbs/postgresql/1.22.0/1.22.0.sql @@ -41,6 +41,10 @@ WHERE metric_of IN ('domainsErrors4xx', 'domainsErrors5xx', 'countSessions', 'speedLocation', 'avgVisitedPages') OR metric_type IN ('webVitals', 'errors', 'performance', 'resources'); +UPDATE public.metrics +SET view_type='chart' +WHERE metric_type = 'funnel'; + COMMIT; \elif :is_next