From d74a7b7aec40d83b940dbfe10850734075aa6c5c Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sun, 27 Jun 2021 18:59:21 +0100
Subject: Add an existing table to the config

---
 lib/output/pq/sql/insertTable.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 lib/output/pq/sql/insertTable.sql

(limited to 'lib/output/pq/sql/insertTable.sql')

diff --git a/lib/output/pq/sql/insertTable.sql b/lib/output/pq/sql/insertTable.sql
new file mode 100644
index 0000000..4b559d0
--- /dev/null
+++ b/lib/output/pq/sql/insertTable.sql
@@ -0,0 +1,3 @@
+INSERT INTO mygrate.tables(table_name, source_id)
+VALUES($1, $2)
+RETURNING table_id
-- 
cgit v1.2.3

