From 194f7b8772e943dba98d672e738214808eb1a1a7 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sun, 13 Jun 2021 20:30:24 +0100
Subject: Code for setting up an initial source from scratch

Includes beginnings of the end-to-end test suite.
---
 lib/output/pq/sql/insertSource.sql | 3 +++
 1 file changed, 3 insertions(+)
 create mode 100644 lib/output/pq/sql/insertSource.sql

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

diff --git a/lib/output/pq/sql/insertSource.sql b/lib/output/pq/sql/insertSource.sql
new file mode 100644
index 0000000..c262070
--- /dev/null
+++ b/lib/output/pq/sql/insertSource.sql
@@ -0,0 +1,3 @@
+INSERT INTO mygrate.source(host, username, password, port, database, filename, position, serverid, table_schema)
+VALUES($1, $2, $3, $4, $5, $6, $7, $8, $9)
+RETURNING source_id
-- 
cgit v1.2.3

