feat(DB): file_key column refactored for multi-run
This commit is contained in:
parent
b9e1f30d57
commit
366b03161e
2 changed files with 8 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ BEGIN
|
|||
END;
|
||||
$$ LANGUAGE plpgsql;
|
||||
|
||||
ALTER TABLE sessions ADD file_key BYTEA NULL;
|
||||
ALTER TABLE IF EXISTS sessions
|
||||
ADD COLUMN IF NOT EXISTS file_key BYTEA DEFAULT NULL;
|
||||
|
||||
COMMIT;
|
||||
|
|
@ -545,11 +545,12 @@ $$
|
|||
watchdogs_score bigint NOT NULL DEFAULT 0,
|
||||
issue_score bigint NOT NULL DEFAULT 0,
|
||||
issue_types issue_type[] NOT NULL DEFAULT '{}'::issue_type[],
|
||||
utm_source text NULL DEFAULT NULL,
|
||||
utm_medium text NULL DEFAULT NULL,
|
||||
utm_campaign text NULL DEFAULT NULL,
|
||||
referrer text NULL DEFAULT NULL,
|
||||
base_referrer text NULL DEFAULT NULL,
|
||||
utm_source text DEFAULT NULL,
|
||||
utm_medium text DEFAULT NULL,
|
||||
utm_campaign text DEFAULT NULL,
|
||||
referrer text DEFAULT NULL,
|
||||
base_referrer text DEFAULT NULL,
|
||||
file_key bytea DEFAULT NULL,
|
||||
metadata_1 text DEFAULT NULL,
|
||||
metadata_2 text DEFAULT NULL,
|
||||
metadata_3 text DEFAULT NULL,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue