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

This commit is contained in:
Kraiem Taha Yassine 2023-11-24 11:26:56 +01:00 committed by GitHub
parent 722e58cf7f
commit 3f2c9bd709
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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