Skip to content

Commit c0dd1a3

Browse files
committed
fix(conflation): add ref to results_geometry_temp
1 parent 73b53ac commit c0dd1a3

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

mapswipe_workers/tests/integration/set_up_db.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ CREATE TABLE IF NOT EXISTS results_geometry_temp (
108108
end_time timestamp,
109109
result varchar,
110110
app_version varchar,
111-
client_type varchar
111+
client_type varchar,
112+
ref jsonb
112113
);
113114

114115

postgres/initdb.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ CREATE TABLE IF NOT EXISTS results_geometry_temp (
108108
end_time timestamp,
109109
result varchar,
110110
app_version varchar,
111-
client_type varchar
111+
client_type varchar,
112+
ref jsonb
112113
);
113114

114115

postgres/scripts/add_ref_to_results_for_conflation.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
ALTER TABLE results_temp
22
ADD COLUMN ref jsonb;
33

4+
ALTER TABLE results_geometry_temp
5+
ADD COLUMN ref jsonb;
6+
47
CREATE TABLE IF NOT EXISTS public.mapping_sessions_refs (
58
mapping_session_id int8,
69
task_id varchar,

0 commit comments

Comments
 (0)