Cadangan otomatis DB berskema lama tepat sebelum migrasi go-live

init_db menyalin /data/app.db → /data/app.db.sebelum-golive-<waktu> (sqlite backup API, konsisten)
hanya bila skema masih OBE-Mapping (peran dosen_rps_mk) — sekali, di volume persisten.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Power BI Dev
2026-10-14 04:49:07 +07:00
co-authored by Claude Opus 5.5
parent 2bab18fdf3
commit 99a1655f56
3 changed files with 33 additions and 0 deletions
+1
View File
@@ -8,3 +8,4 @@ __pycache__/
tests/*.db
tests/*.xlsx
tests/*.log
tests/*.db.*