fix: importdb sh

This commit is contained in:
simonzhangsz committed 2023-12-22 12:25:03 +08:00
1 parent 1234c56af8
commit fc25280a36
1 file changed
+1 -1
+1 -1
View File
@@ -11,7 +11,7 @@ InstallSQLDir=/usr/local/omc/etc/db/install
drop_db_sql="drop database IF EXISTS ${DBNAME}"
create_db_sql="create database IF NOT EXISTS ${DBNAME}"
case "$M_ARG" in
case "$1" in
upgrade)
echo "Upgrade database ${DBNAME}"
for SQL in ${UpgradeSQLDir}/*.sql; do