Mercurial > lada > lada-server
comparison db_schema/setup-db.sh @ 933:56d2dd058906
Stop on error.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Fri, 06 May 2016 12:21:48 +0200 |
parents | f5d5cc08966a |
children | 4d8b8c849935 |
comparison
equal
deleted
inserted
replaced
932:f5d5cc08966a | 933:56d2dd058906 |
---|---|
1 #!/bin/sh | 1 #!/bin/sh -e |
2 # SYNOPSIS | 2 # SYNOPSIS |
3 # ./setup-db.sh [-c] [ROLE_NAME] [ROLE_PW] [DB_NAME] | 3 # ./setup-db.sh [-c] [ROLE_NAME] [ROLE_PW] [DB_NAME] |
4 # -c clean - drop an existing database | 4 # -c clean - drop an existing database |
5 # ROLE_NAME nema of db user (default = lada) | 5 # ROLE_NAME nema of db user (default = lada) |
6 # ROLE_PW login password (default = ROLE_NAME) | 6 # ROLE_PW login password (default = ROLE_NAME) |