fix(DB): fixed old-product-analytics wrong view_type
This commit is contained in:
parent
264f28ed39
commit
45b8bdef8a
2 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue