summaryrefslogtreecommitdiff
path: root/lib/output/pq/sql/selectSource.sql
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-06-12 19:21:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2021-06-12 19:21:22 +0100
commitde6ac08985252e7b5d36959896386a414e590d15 (patch)
tree60abba81244c4aa484660b6ae15d7b6f4379f8b1 /lib/output/pq/sql/selectSource.sql
parentSimplify and allow offset when creating objects from rows (diff)
downloadmygrate-de6ac08985252e7b5d36959896386a414e590d15.tar.bz2
mygrate-de6ac08985252e7b5d36959896386a414e590d15.tar.xz
mygrate-de6ac08985252e7b5d36959896386a414e590d15.zip
Load schema and config etc from target DB
Diffstat (limited to 'lib/output/pq/sql/selectSource.sql')
-rw-r--r--lib/output/pq/sql/selectSource.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/pq/sql/selectSource.sql b/lib/output/pq/sql/selectSource.sql
index db76b4a..32b413d 100644
--- a/lib/output/pq/sql/selectSource.sql
+++ b/lib/output/pq/sql/selectSource.sql
@@ -1,3 +1,3 @@
SELECT host, username, password, port, filename, position, serverid
FROM mygrate.source s
-WHERE s.id = $1
+WHERE s.source_id = $1