From de6ac08985252e7b5d36959896386a414e590d15 Mon Sep 17 00:00:00 2001
From: Dan Goodliffe <dan@randomdan.homeip.net>
Date: Sat, 12 Jun 2021 19:21:22 +0100
Subject: Load schema and config etc from target DB

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

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

diff --git a/lib/output/pq/sql/updateSourcePosition.sql b/lib/output/pq/sql/updateSourcePosition.sql
index 3d3d665..74e22fc 100644
--- a/lib/output/pq/sql/updateSourcePosition.sql
+++ b/lib/output/pq/sql/updateSourcePosition.sql
@@ -1,4 +1,4 @@
 UPDATE mygrate.source SET
 	filename = $1,
 	position = $2
-WHERE id = $3
+WHERE source_id = $3
-- 
cgit v1.2.3

