From 0358afc9f0d0480f1b717713ef3e0c2e214e6312 Mon Sep 17 00:00:00 2001 From: ShiKhu Date: Thu, 13 May 2021 00:02:29 +0200 Subject: [PATCH] fix(pg_schema): session duration DEFAULT NULL --- scripts/helm/db/init_dbs/postgresql/init_schema.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/helm/db/init_dbs/postgresql/init_schema.sql b/scripts/helm/db/init_dbs/postgresql/init_schema.sql index faaf21ab9..ed1449309 100644 --- a/scripts/helm/db/init_dbs/postgresql/init_schema.sql +++ b/scripts/helm/db/init_dbs/postgresql/init_schema.sql @@ -433,7 +433,7 @@ CREATE TABLE sessions project_id integer NOT NULL REFERENCES projects (project_id) ON DELETE CASCADE, tracker_version text NOT NULL, start_ts bigint NOT NULL, - duration integer NOT NULL, + duration integer DEFAULT NULL, rev_id text DEFAULT NULL, platform platform NOT NULL DEFAULT 'web', is_snippet boolean NOT NULL DEFAULT FALSE,