Mercurial > gemma
annotate schema/updates/1200/02.add_demo_stretch_countries.sql @ 5115:bb5459faadb7 queued-stage-done
Dont leave old jobs behind if retrying remove jobs.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 25 Mar 2020 18:02:46 +0100 |
parents | 5e38667f740c |
children |
rev | line source |
---|---|
4389
5e38667f740c
Use stretches as areas of responsibility.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
1 INSERT INTO users.stretch_countries(stretch_id,country) |
5e38667f740c
Use stretches as areas of responsibility.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
2 (SELECT id, substring(name for 2) FROM users.stretches |
5e38667f740c
Use stretches as areas of responsibility.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
3 WHERE name |
5e38667f740c
Use stretches as areas of responsibility.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
4 IN ('BG_stretch_1','HU_stretch_1','RS_stretch_1', |
5e38667f740c
Use stretches as areas of responsibility.
Sascha Wilde <wilde@intevation.de>
parents:
diff
changeset
|
5 'AT_stretch_1','SK_stretch_1','RO_stretch_1')) |