diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-19 23:40:15 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-07-19 23:40:15 +0100 |
commit | b2e4bd857ec0cca7ef474519c8d1a0ef77abfda2 (patch) | |
tree | 7ef6f4590731a506fd68de5efc5cd2341335ddba /lib/output/pq/sql | |
parent | Move constructable PqConn (diff) | |
download | mygrate-b2e4bd857ec0cca7ef474519c8d1a0ef77abfda2.tar.bz2 mygrate-b2e4bd857ec0cca7ef474519c8d1a0ef77abfda2.tar.xz mygrate-b2e4bd857ec0cca7ef474519c8d1a0ef77abfda2.zip |
Get source database name into UpdateDatabase on configure
Diffstat (limited to 'lib/output/pq/sql')
-rw-r--r-- | lib/output/pq/sql/selectSourceSchema.sql | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/output/pq/sql/selectSourceSchema.sql b/lib/output/pq/sql/selectSourceSchema.sql index a583c4f..99cafac 100644 --- a/lib/output/pq/sql/selectSourceSchema.sql +++ b/lib/output/pq/sql/selectSourceSchema.sql @@ -1,3 +1,3 @@ -SELECT table_schema +SELECT table_schema, database FROM mygrate.source s WHERE s.source_id = $1 |