From b72ae9cc0a98d60324c758eee22125e49fce223f Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 31 Jul 2021 12:53:52 +0100 Subject: Copy table content in a TX as part of add table --- lib/output/pq/sql/insertTable.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/output/pq/sql') diff --git a/lib/output/pq/sql/insertTable.sql b/lib/output/pq/sql/insertTable.sql index 4b559d0..a31b1a1 100644 --- a/lib/output/pq/sql/insertTable.sql +++ b/lib/output/pq/sql/insertTable.sql @@ -1,3 +1,3 @@ -INSERT INTO mygrate.tables(table_name, source_id) -VALUES($1, $2) +INSERT INTO mygrate.tables(table_name, source_id, start_file, start_position) +VALUES($1, $2, $3, $4) RETURNING table_id -- cgit v1.2.3