Mercurial > gemma
changeset 4569:efb7851f54dd iso-areas
Merged default into iso-areas branch.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sun, 06 Oct 2019 10:29:43 +0200 |
parents | 459d682e39b5 (current diff) aeb2aedd3abd (diff) |
children | 4b3a298b94f8 |
files | |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/pkg/imports/st.go Fri Oct 04 18:47:29 2019 +0200 +++ b/pkg/imports/st.go Sun Oct 06 10:29:43 2019 +0200 @@ -58,10 +58,10 @@ const ( stDeleteSQL = ` DELETE FROM users.stretches WHERE -staging_done AND name = ( +staging_done AND name IN ( SELECT name FROM users.stretches WHERE - id = ( + id IN ( SELECT key from import.track_imports WHERE import_id = $1 AND relation = 'users.stretches'::regclass)