mirror of
https://github.com/tiennm99/tiennm99bot.git
synced 2026-10-11 03:13:46 +00:00
refactor: remove completed startup migrations
This commit is contained in:
1 parent
ad153d8e6c
commit
5254ab4c8e
10 files changed
+20
-801
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user