fix(pangolin): remove redundant msg_info in migration check

This commit is contained in:
MickLesk
2026-05-18 18:00:52 +02:00
parent 2770b26aea
commit 6b14056961

View File

@@ -84,7 +84,6 @@ function update_script() {
SQLITE_DB="/opt/pangolin/config/db/db.sqlite"
if [[ -f "$SQLITE_DB" ]]; then
if ! sqlite3 "$SQLITE_DB" ".tables" 2>/dev/null | tr ' ' '\n' | grep -qx "statusHistory"; then
msg_info "Detected missing statusHistory table, resetting migration state"
sqlite3 "$SQLITE_DB" "DELETE FROM versionMigrations;" 2>/dev/null || true
fi
fi