Mercurial > gemma
view 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 |
line wrap: on
line source
INSERT INTO users.stretch_countries(stretch_id,country) (SELECT id, substring(name for 2) FROM users.stretches WHERE name IN ('BG_stretch_1','HU_stretch_1','RS_stretch_1', 'AT_stretch_1','SK_stretch_1','RO_stretch_1'))