changeset 1727:3adb834ed55e

Import extra attributes: Use right id column.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Wed, 09 Jan 2019 12:07:27 +0100
parents 9e1abe157e47
children 647195199dc8
files pkg/controllers/importconfig.go
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pkg/controllers/importconfig.go	Wed Jan 09 11:53:10 2019 +0100
+++ b/pkg/controllers/importconfig.go	Wed Jan 09 12:07:27 2019 +0100
@@ -65,7 +65,7 @@
 
 	deleteImportConfiguationAttributesSQL = `
 DELETE FROM waterway.import_configuration_attributes
-WHERE id = $1`
+WHERE import_configuration_id = $1`
 
 	deleteImportConfiguationSQL = `
 DELETE FROM waterway.import_configuration