diff pkg/imports/config.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 807569b08513
children 25967829cf00
line wrap: on
line diff
--- a/pkg/imports/config.go	Thu Jan 24 12:50:17 2019 +0100
+++ b/pkg/imports/config.go	Thu Jan 24 12:56:31 2019 +0100
@@ -106,12 +106,12 @@
   send_email,
   cron,
   url
-FROM waterway.import_configuration
+FROM import.import_configuration
 WHERE id = $1`
 
 	loadConfigAttributesSQL = `
 SELECT k, v
-FROM waterway.import_configuration_attributes
+FROM import.import_configuration_attributes
 WHERE import_configuration_id = $1`
 )