- Enhanced Console Visibility: Automatically rolled-back phantom migrations now provide clearer and more visible logs in the console
- Git Hooks for Branch Management: Introduced hooks that automatically rollback phantom migrations after checking out a branch. Additionally, the schema migration rake task can now be executed automatically upon branch checkout
- Temporary Folder Cleanup: Rolled-back phantom migrations are now automatically deleted from the temporary folder after rollback
- Acronym Support in Phantom Migration Names: Resolved an issue where phantom migrations with acronyms in their names, defined in other branches, couldn't be rolled back automatically. These are now handled seamlessly
- Don't stop if a phantom migration rollback fails
- Improve failed rollback of phantom migrations report
- Make UI working without assets pipeline
- Unlock compatibility with Rails versions earlier than 6.0
- Added UI
- Added environment variable
ACTUAL_DB_SCHEMA_UI_ENABLED
to enable/disable the UI in specific environments - Added configuration option
ActualDbSchema.config[:ui_enabled]
to enable/disable the UI in specific environments
- Added db:rollback_migrations:manual task to manually rolls back phantom migrations one by one
- Rails 7.2 support added
- Rails 6.0 support added
- add multipe databases support
- update title and description in Rubygems
- add csv as a dependency since Ruby 3.3 has removed it from the standard library
- db:phantom_migrations displays the branch in which the phantion migration was run
- Added db:phantom_migrations task to display phantom migrations
- Updated README
- Rails 7.1 support added
- rollback migrations in the reversed order
- add Rails 6 and older support
- Catch exceptions about irreversible migrations and show a warning
- Namespace all patches into gem module
- Fix typo in a module name with a patch
- Use guard clause
- Initial release