From 275c5fd1362c0376b742a7d70d576e5002f4b8b0 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Thu, 9 Nov 2023 19:30:04 +0100 Subject: [PATCH] Api v1.15.0 (#1639) * fix(chalice): fixed inter-card pagination * fix(chalice): fixed path-analysis's density support * fix(chalice): fixed path-analysis's sessions drill-down * fix(chalice): path-analysis allow issues when no-path is selected * fix(DB): added app_crash --- .../db/init_dbs/postgresql/1.15.0/1.15.0.sql | 16 +++++++++------- .../db/init_dbs/postgresql/1.15.0/1.15.0.sql | 2 ++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/ee/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql b/ee/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql index 74159fab7..0ad9bcb74 100644 --- a/ee/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql +++ b/ee/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql @@ -124,13 +124,13 @@ ALTER TABLE IF EXISTS public.metrics CREATE TABLE IF NOT EXISTS public.assist_events ( - event_id varchar NOT NULL PRIMARY KEY, - project_id integer NOT NULL, - session_id varchar NOT NULL, - event_type varchar NOT NULL, - timestamp bigint NOT NULL, - duration integer, - agent_id integer + event_id varchar NOT NULL PRIMARY KEY, + project_id integer NOT NULL, + session_id varchar NOT NULL, + event_type varchar NOT NULL, + timestamp bigint NOT NULL, + duration integer, + agent_id integer ); CREATE TABLE IF NOT EXISTS public.assist_events_aggregates @@ -163,6 +163,8 @@ SET gdpr=(SELECT * LIMIT 1) WHERE jsonb_typeof(gdpr) = 'array'; +ALTER TYPE issue_type ADD VALUE IF NOT EXISTS 'app_crash'; + COMMIT; \elif :is_next diff --git a/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql b/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql index 66c6ba944..ffffec871 100644 --- a/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql +++ b/scripts/schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql @@ -132,6 +132,8 @@ SET gdpr=(SELECT * LIMIT 1) WHERE jsonb_typeof(gdpr) = 'array'; +ALTER TYPE issue_type ADD VALUE IF NOT EXISTS 'app_crash'; + COMMIT; \elif :is_next