Mercurial > gemma
comparison pkg/controllers/importconfig.go @ 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 | 49e047c2106e |
children | 7c54babe10f7 |
comparison
equal
deleted
inserted
replaced
1726:9e1abe157e47 | 1727:3adb834ed55e |
---|---|
63 SELECT true FROM waterway.import_configuration | 63 SELECT true FROM waterway.import_configuration |
64 WHERE id = $1` | 64 WHERE id = $1` |
65 | 65 |
66 deleteImportConfiguationAttributesSQL = ` | 66 deleteImportConfiguationAttributesSQL = ` |
67 DELETE FROM waterway.import_configuration_attributes | 67 DELETE FROM waterway.import_configuration_attributes |
68 WHERE id = $1` | 68 WHERE import_configuration_id = $1` |
69 | 69 |
70 deleteImportConfiguationSQL = ` | 70 deleteImportConfiguationSQL = ` |
71 DELETE FROM waterway.import_configuration | 71 DELETE FROM waterway.import_configuration |
72 WHERE id = $1` | 72 WHERE id = $1` |
73 | 73 |