refactor: remove completed startup migrations

This commit is contained in:
tiennm99 committed 2026-07-01 11:42:59 +07:00
1 parent ad153d8e6c
commit 5254ab4c8e
10 files changed
+20 -801

No files matched your search

+4
View File
@@ -54,6 +54,10 @@ Startup migrations should be safe to run every boot:
- use `internal/systemstate` records in the shared `system` collection for
one-time migrations
- write tests for migration idempotency and legacy data handling
- after production data is verified migrated and the owner approves cleanup,
remove completed one-time migration runtime code and migration-only tests;
keep historical `system` marker records and legacy data unless the owner
explicitly asks to delete them
## Git