Planka: add migrate step to update function (#11877)

Added database migration commands after restoring data.
This commit is contained in:
Léon Zimmermann
2026-02-13 11:26:56 +01:00
committed by GitHub
parent d271c16799
commit eeb349346b

View File

@@ -61,6 +61,12 @@ function update_script() {
rm -rf "$BK"
msg_ok "Restored data"
msg_ok "Migrate Database"
cd /opt/planka
$STD npm run db:upgrade
$STD npm run db:migrate
msg_ok "Migrated Database"
msg_info "Starting Service"
systemctl start planka
msg_ok "Started Service"