diff pkg/imports/track.go @ 1995:59055c8301df

Move import queue to its own database namespace Authorisation of the import queue has to be handled differently from the waterway-related data in the waterway schema. This is easier to handle, if both are in their own schema/namespace.
author Tom Gottfried <tom@intevation.de>
date Thu, 24 Jan 2019 12:56:31 +0100
parents d753ce6cf588
children e45442db19b1
line wrap: on
line diff
--- a/pkg/imports/track.go	Thu Jan 24 12:50:17 2019 +0100
+++ b/pkg/imports/track.go	Thu Jan 24 12:56:31 2019 +0100
@@ -20,7 +20,7 @@
 
 const (
 	trackImportSQL = `
-    INSERT INTO waterway.track_imports (import_id, relation, key)
+    INSERT INTO import.track_imports (import_id, relation, key)
 	VALUES ($1, $2::regclass, $3)`
 )