From b2e4bd857ec0cca7ef474519c8d1a0ef77abfda2 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Mon, 19 Jul 2021 23:40:15 +0100
Subject: Get source database name into UpdateDatabase on configure

---
 lib/output/pq/sql/selectSourceSchema.sql | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

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
-- 
cgit v1.2.3

