Mercurial > gemma
comparison schema/updates/1200/02.add_demo_stretch_countries.sql @ 4389:5e38667f740c stretches-for-responsibility
Use stretches as areas of responsibility.
This is heavily based on a patch by Tom Gottfried
(read: >90% of the work was done by Tom).
author | Sascha Wilde <wilde@intevation.de> |
---|---|
date | Thu, 12 Sep 2019 18:13:47 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
4371:4a5ed371011f | 4389:5e38667f740c |
---|---|
1 INSERT INTO users.stretch_countries(stretch_id,country) | |
2 (SELECT id, substring(name for 2) FROM users.stretches | |
3 WHERE name | |
4 IN ('BG_stretch_1','HU_stretch_1','RS_stretch_1', | |
5 'AT_stretch_1','SK_stretch_1','RO_stretch_1')) |