Revert "Revert "fix(DB): change path-analysis card size (#1700)""

This reverts commit a3d3dc5e46.
This commit is contained in:
Amirouche BOUBEKKI 2023-11-24 15:01:03 +01:00
parent 89c16e1f1e
commit 6da4d0d398
2 changed files with 16 additions and 0 deletions

View file

@ -165,6 +165,14 @@ WHERE jsonb_typeof(gdpr) = 'array';
ALTER TYPE issue_type ADD VALUE IF NOT EXISTS 'app_crash';
UPDATE metrics
SET default_config='{
"col": 4,
"row": 2,
"position": 0
}'::jsonb
WHERE metric_type = 'pathAnalysis';
COMMIT;
\elif :is_next

View file

@ -134,6 +134,14 @@ WHERE jsonb_typeof(gdpr) = 'array';
ALTER TYPE issue_type ADD VALUE IF NOT EXISTS 'app_crash';
UPDATE metrics
SET default_config='{
"col": 4,
"row": 2,
"position": 0
}'::jsonb
WHERE metric_type = 'pathAnalysis';
COMMIT;
\elif :is_next