comparison db_schema/setup-db.sh @ 1323:22c9bbb88d1a release-2.5

.
author Michael Stanko <mstanko@bfs.de>
date Thu, 23 Mar 2017 12:17:06 +0100
parents bfbbd390c9a8
children 46aa15c8cfb2
comparison
equal deleted inserted replaced
1322:3fe0b22ebabe 1323:22c9bbb88d1a
70 ON ALL SEQUENCES IN SCHEMA stammdaten, land TO $ROLE_NAME; 70 ON ALL SEQUENCES IN SCHEMA stammdaten, land TO $ROLE_NAME;
71 GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES 71 GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES
72 ON ALL TABLES IN SCHEMA stammdaten, land TO $ROLE_NAME;" 72 ON ALL TABLES IN SCHEMA stammdaten, land TO $ROLE_NAME;"
73 73
74 if [ "$NO_DATA" != "true" ]; then 74 if [ "$NO_DATA" != "true" ]; then
75 if [ -f $DIR/lada_private_data.zip ]; then
76 echo inclue private data
77 unzip -o lada_private_data.zip
78 fi
79
80 echo import stammdaten.verwaltungseinheit 75 echo import stammdaten.verwaltungseinheit
81 psql -q $DB_CONNECT_STRING -d $DB_NAME -f $DIR/stammdaten_data_verwaltungseinheit.sql 76 psql -q $DB_CONNECT_STRING -d $DB_NAME -f $DIR/stammdaten_data_verwaltungseinheit.sql
82 77
83 echo import stammdaten 78 echo import stammdaten
84 for file in \ 79 for file in \
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)