Skip to content

Commit bb0d012

Browse files
committed
feat(conflation): add ref column to postgres results tables
1 parent a562833 commit bb0d012

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

postgres/initdb.sql

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,8 @@ CREATE TABLE IF NOT EXISTS results_temp (
9393
end_time timestamp,
9494
result int,
9595
app_version varchar,
96-
client_type varchar
96+
client_type varchar,
97+
ref jsonb
9798
);
9899

99100
-- create table for results import through csv
@@ -192,6 +193,7 @@ CREATE TABLE IF NOT EXISTS mapping_sessions_results (
192193
mapping_session_id int8,
193194
task_id varchar,
194195
result int2 not null,
196+
ref jsonb,
195197
PRIMARY KEY (mapping_session_id, task_id),
196198
FOREIGN KEY (mapping_session_id)
197199
references mapping_sessions (mapping_session_id)

0 commit comments

Comments
 (0)