Fix #134
This commit is contained in:
parent
1ff3e1def6
commit
e430c76d51
|
@ -198,7 +198,7 @@ create_postgresql_tbl(){
|
||||||
|
|
||||||
# Create db on remote server
|
# Create db on remote server
|
||||||
if $PSQL -lt | cut -d\| -f 1 | grep -qw | grep 0; then
|
if $PSQL -lt | cut -d\| -f 1 | grep -qw | grep 0; then
|
||||||
$CREATEDB $DB_NAME
|
$CREATEDB $POSTGRESQL_SERVER_DB_NAME
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$PSQL -d "${POSTGRESQL_SERVER_DB_NAME}" -f "${APP_DIR}/server/schema/postgresql/createdb.sql"
|
$PSQL -d "${POSTGRESQL_SERVER_DB_NAME}" -f "${APP_DIR}/server/schema/postgresql/createdb.sql"
|
||||||
|
|
Loading…
Reference in a new issue