This commit is contained in:
Alexey Golubev 2018-11-06 17:16:29 +03:00
parent 1ff3e1def6
commit e430c76d51

View file

@ -198,7 +198,7 @@ create_postgresql_tbl(){
# Create db on remote server
if $PSQL -lt | cut -d\| -f 1 | grep -qw | grep 0; then
$CREATEDB $DB_NAME
$CREATEDB $POSTGRESQL_SERVER_DB_NAME
fi
$PSQL -d "${POSTGRESQL_SERVER_DB_NAME}" -f "${APP_DIR}/server/schema/postgresql/createdb.sql"