summaryrefslogtreecommitdiff
path: root/lib/output/pq/sql
diff options
context:
space:
mode:
Diffstat (limited to 'lib/output/pq/sql')
-rw-r--r--lib/output/pq/sql/insertSource.sql3
1 files changed, 3 insertions, 0 deletions
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