- Skip pending migrations in the UI
- Restore original connection after iterating through connections
- Support schema diffs for
structure.sql - Add an option to exclude specific databases from the gem's visibility scope
- Fix a crash when the database is not available at application startup
- Add instrumentation tooling to track stats about rolled-back phantom migrations
- Store migration files in the DB to avoid reliance on the filesystem, enabling CI/CD usage on platforms with ephemeral storage (e.g., Heroku, Docker).
- Fix gem installtion with git hooks
- Update README
- Fix the gem working on projects without git
- Fix initializer file that can break other bundle groups that development
- Use prism gem instead of parser for Ruby 3.4 compatibility
- View Schema with Migration Annotations in the UI
- Clean Up Broken Migrations
- Filter Migrations in the UI
- Customize Your Migrated Folder Location
- Show migration name in the schema.rb diff that caused the change
- Easy way to run DDL migration methods in Rails console
- Support for multiple database schemas, ensuring compatibility with multi-tenant applications using the apartment gem or similar solutions
- DSL for configuring the gem, simplifying setup and customization
- Rake task added to initialize the gem
- Improved the post-checkout git hook to run only when switching branches, reducing unnecessary executions during file checkouts
- Fixed the changelog link in the gemspec, ensuring Rubygems points to the correct file and the link works
- 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_ENABLEDto 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