Small changes
This commit is contained in:
parent
b1239047d2
commit
a7334483d0
@ -361,7 +361,6 @@ upgrade_postgresql_tbl() {
|
|||||||
PSQL="psql -q -h$DB_HOST -p$DB_PORT -d$DB_NAME -U$DB_USER -w"
|
PSQL="psql -q -h$DB_HOST -p$DB_PORT -d$DB_NAME -U$DB_USER -w"
|
||||||
|
|
||||||
for i in $(ls $APP_DIR/server/schema/postgresql/upgrade/upgrade*); do
|
for i in $(ls $APP_DIR/server/schema/postgresql/upgrade/upgrade*); do
|
||||||
echo "$PSQL -f ${i}" > /app/rfx-upgrade.txt
|
|
||||||
$PSQL -f "${i}";
|
$PSQL -f "${i}";
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
@ -372,7 +371,7 @@ upgrade_mysql_tbl() {
|
|||||||
|
|
||||||
for i in $(ls $APP_DIR/server/schema/mysql/upgrade/upgrade*); do
|
for i in $(ls $APP_DIR/server/schema/mysql/upgrade/upgrade*); do
|
||||||
$MYSQL "$DB_NAME" < ${i} >/dev/null 2>&1;
|
$MYSQL "$DB_NAME" < ${i} >/dev/null 2>&1;
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
create_postgresql_tbl() {
|
create_postgresql_tbl() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user