From 5ebe5719ace3e8cdd34f5c43827dc14f4320b9a2 Mon Sep 17 00:00:00 2001 From: Kraiem Taha Yassine Date: Mon, 9 Oct 2023 12:43:28 +0200 Subject: [PATCH] Api v1.15.0 (#1505) * feat(chalice): upgraded dependencies * feat(chalice): changed path analysis schema * feat(DB): click coordinate support * feat(chalice): changed path analysis issues schema feat(chalice): upgraded dependencies * fix(chalice): fixed pydantic issue * refactor(chalice): refresh token validator * feat(chalice): role restrictions * feat(chalice): EE path analysis changes * refactor(DB): changed creation queries refactor(DB): changed delte queries feat(DB): support new path analysis payload * feat(chalice): save path analysis card * feat(chalice): restrict access * feat(chalice): restrict access * feat(chalice): EE save new path analysis card --- .../schema/db/init_dbs/postgresql/1.15.0/1.15.0.sql | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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 f44747777..01d1f08cf 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 @@ -118,8 +118,11 @@ ALTER TABLE IF EXISTS events.clicks ALTER TABLE IF EXISTS public.metrics ADD COLUMN IF NOT EXISTS card_info jsonb NULL; +ALTER TABLE IF EXISTS public.metrics + ADD COLUMN IF NOT EXISTS card_info jsonb NULL; -CREATE TABLE IF NOT EXISTS assist_events + +CREATE TABLE IF NOT EXISTS public.assist_events ( event_id varchar NOT NULL PRIMARY KEY, project_id integer NOT NULL, @@ -131,7 +134,7 @@ CREATE TABLE IF NOT EXISTS assist_events agent_id varchar ); -CREATE TABLE IF NOT EXISTS assist_events_aggregates +CREATE TABLE IF NOT EXISTS public.assist_events_aggregates ( timestamp BIGINT not null, project_id integer not null, @@ -145,12 +148,11 @@ CREATE TABLE IF NOT EXISTS assist_events_aggregates ); -CREATE TABLE IF NOT EXISTS assist_events_aggregates_logs +CREATE TABLE IF NOT EXISTS pulic.assist_events_aggregates_logs ( time BIGINT not null ); - COMMIT; \elif :is_next