Mode produksi: aplikasi live di pdkbsbu.web.id. Gunakan data dengan teliti dan cek ulang sebelum submit/perubahan status.
Database
Dokumen operasional final untuk transisi dari cache/AppSheet readiness menuju PostgreSQL go-live. Halaman ini read-only.
Runbook Phases
9Write Commands
2Export Artifacts
5Mode
READ-ONLYIkuti dari atas ke bawah. Stop jika ada blocker atau butuh approval.
| Phase | Area | Checklist | Owner | Link |
|---|---|---|---|---|
| 1 | Preflight | Buka Command Center dan pastikan tidak ada HIGH priority yang belum dipahami. | Operator | Buka |
| 2 | Environment | Set dan verifikasi DATABASE_URL mengarah ke PostgreSQL target yang benar. | Operator | Buka |
| 3 | Schema | Review schema Drizzle dan migration SQL sebelum generate/apply. | Developer | Buka |
| 4 | Migration | Generate migration hanya jika schema berubah, lalu apply migration setelah approval. | Developer + Boss approval | Buka |
| 5 | Seed | Jalankan dry-run seed dan simpan/cek history sebelum execute. | Operator | Buka |
| 6 | Seed Execute | Execute seed hanya setelah readiness aman, lalu cek Seed History. | Operator + Boss approval | Buka |
| 7 | Verification | Bandingkan DB counts vs cache counts dan review mismatch. | Operator | Buka |
| 8 | Draft Submit | Cek Draft DB Readiness, export NEEDS_FIX jika ada, baru submit per draft yang ready. | Operator | Buka |
| 9 | Rollback | Pastikan backup/snapshot DB tersedia sebelum operasi tulis besar. | Operator | Buka |
Generate migration dari schema Drizzle. Jalankan hanya jika schema berubah.
Apply migration ke DB target. Perlu DATABASE_URL benar dan approval.
Dry-run planning/readiness seed. Aman/read-only.
Dry-run seed cache default. Aman selama tanpa --execute.
Menulis DB. Jalankan hanya setelah approval dan readiness aman.
Gunakan file ini sebagai snapshot audit sebelum operasi tulis database.