[Lada-commits] [PATCH 1 of 6] Removed schema bund from setup_db script

Wald Commits scm-commit at wald.intevation.org
Wed Aug 31 16:24:09 CEST 2016


# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1472651219 -7200
# Branch schema-update
# Node ID 2977a7ac414f96b7bb360c7c463312db86249a3e
# Parent  330dec7ee0bb62a0e541c4b67af03a86ac144f92
Removed schema bund from setup_db script.

diff -r 330dec7ee0bb -r 2977a7ac414f db_schema/setup-db.sh
--- a/db_schema/setup-db.sh	Fri Jul 08 15:35:24 2016 +0200
+++ b/db_schema/setup-db.sh	Wed Aug 31 15:46:59 2016 +0200
@@ -65,11 +65,11 @@
 psql $DB_CONNECT_STRING -d $DB_NAME -f $DIR/lada_schema.sql
 echo set grants
 psql $DB_CONNECT_STRING -d $DB_NAME --command \
-     "GRANT USAGE ON SCHEMA stammdaten, bund, land TO $ROLE_NAME;
+     "GRANT USAGE ON SCHEMA stammdaten, land TO $ROLE_NAME;
       GRANT USAGE
-            ON ALL SEQUENCES IN SCHEMA stammdaten, bund, land TO $ROLE_NAME;
+            ON ALL SEQUENCES IN SCHEMA stammdaten, land TO $ROLE_NAME;
       GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES
-            ON ALL TABLES IN SCHEMA stammdaten, bund, land TO $ROLE_NAME;"
+            ON ALL TABLES IN SCHEMA stammdaten, land TO $ROLE_NAME;"
 
 if [ "$NO_DATA" != "true" ]; then
     echo import stammdaten


More information about the Lada-commits mailing list