comparison schema/install-db.sh @ 3661:1fe3b378544a

Added handcrafted responsibility areas and matching stretches. Until we have a working solution for stretches as responsibility areas, this shall serve as a testbed.
author Sascha Wilde <wilde@intevation.de>
date Fri, 14 Jun 2019 13:29:40 +0200
parents 5470aa3ffb9a
children 42af5ec25a7c
comparison
equal deleted inserted replaced
3660:b30c0b02e8fb 3661:1fe3b378544a
143 143
144 if [[ $demo -eq 1 ]] ; then 144 if [[ $demo -eq 1 ]] ; then
145 psql -qv ON_ERROR_STOP= -p "$port" -d "$db" \ 145 psql -qv ON_ERROR_STOP= -p "$port" -d "$db" \
146 -f "$BASEDIR/demo-data/responsibility_areas.sql" \ 146 -f "$BASEDIR/demo-data/responsibility_areas.sql" \
147 -f "$BASEDIR/demo-data/users.sql" \ 147 -f "$BASEDIR/demo-data/users.sql" \
148 -f "$BASEDIR/demo-data/published_services.sql" 148 -f "$BASEDIR/demo-data/published_services.sql" \
149 -f "$BASEDIR/demo-data/fake_stretches.sql"
149 psql -q -p "$port" -f "$BASEDIR/demo-data/roles.sql" \ 150 psql -q -p "$port" -f "$BASEDIR/demo-data/roles.sql" \
150 -d "$db" 151 -d "$db"
151 fi 152 fi
152 153
153 if [[ $geonames -eq 1 ]] ; then 154 if [[ $geonames -eq 1 ]] ; then