Mercurial > gemma
diff pkg/scheduler/boot.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 | 8bbdad3f9af7 |
children | c06a2e5397fc |
line wrap: on
line diff
--- a/pkg/scheduler/boot.go Thu Jan 24 12:50:17 2019 +0100 +++ b/pkg/scheduler/boot.go Thu Jan 24 12:56:31 2019 +0100 @@ -27,11 +27,11 @@ selectImportConfSQL = ` SELECT id, username, cron -FROM waterway.import_configuration +FROM import.import_configuration WHERE cron IS NOT NULL` scheduledIDsSQL = ` -SELECT id from waterway.import_configuration +SELECT id from import.import_configuration WHERE username = $1 AND cron IS NOT NULL` )