Migration Tests¶
There is no internal/migration/*_test.go.
Automated coverage:
TestMigrationRegistryEmptyBehaviorininternal/command/command_test.go- Empty registry prints
no migrations to applyand returns success
Production Application.RunMigrate is not empty. It registers:
20260806120000_workorder_indexes20260806180000_alarm_read_indexes20260806220000_idempotency_archive_indexes
Those Up functions are not unit-tested. Windows Native live E2E historically recorded migrations as PASS (forward apply). Migration rollback is not performed on application rollback.
Do not document an empty production registry.