-
Notifications
You must be signed in to change notification settings - Fork 124
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Summary
Add a warning message when there are pending migrations that haven't been applied.
Current Behavior
om migrate status shows pending count but there's no proactive warning when using other commands or at startup.
Proposed Behavior
-
CLI Warning: When running
om migrate status, show a colored warning if migrations are pending:⚠️ Warning: 3 pending migrations not applied. Run 'om migrate run' to apply. -
Optional startup warning (stretch goal): Add a function that applications can call to check migration status and log a warning if behind.
Implementation Notes
- Update
statuscommand output to highlight pending migrations - Consider adding
--checkflag that exits non-zero if behind (useful for CI)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request