fix: importdb sh

This commit is contained in:
2023-12-22 12:25:03 +08:00
parent 1234c56af8
commit fc25280a36

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