Mercurial > lada > lada-server
diff db_schema/setup-db.sh @ 908:51051e85348f
Added data dumps.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 07 Apr 2016 15:38:40 +0200 |
parents | d47e6b8f3897 |
children | 2b746f4e97d6 |
line wrap: on
line diff
--- a/db_schema/setup-db.sh Wed Apr 06 12:20:12 2016 +0200 +++ b/db_schema/setup-db.sh Thu Apr 07 15:38:40 2016 +0200 @@ -19,3 +19,6 @@ ON ALL SEQUENCES IN SCHEMA stammdaten, bund, land TO $ROLE_NAME; GRANT SELECT, INSERT, UPDATE, DELETE, REFERENCES ON ALL TABLES IN SCHEMA stammdaten, bund, land TO $ROLE_NAME;" + +psql -d $DB_NAME -f $DIR/stammdaten_data.sql +psql -d $DB_NAME -f $DIR/lada_data.sql