engine
engine copied to clipboard
Unable to Rollback Migrations in Contember
I am experiencing an issue with rolling back migrations in Contember. Currently, there seems to be no direct command to rollback a specific migration, which complicates the process of reverting changes.
Steps Taken:
-
Attempted Rollback Using Available Commands:
- I tried to use various Contember commands like
migrations:execute,migrations:rebase, andmigrations:status, but none provided an option to directly rollback a specific migration.
- I tried to use various Contember commands like
-
Manually Created Revert Migrations:
- As a workaround, I created new migration files to manually revert the changes introduced by previous migrations. However, this approach is cumbersome and error-prone.
Issue Details:
- I need to revert the changes made by specific migrations without having to manually write new revert migrations.
- Example migrations I need to rollback:
2024-08-26-080246-add-delivery-date-order
Expected Behavior:
- A command or feature within Contember that allows for the rollback of specific migrations, reverting their effects automatically.
Additional Information:
- I have explored all relevant documentation and commands, but there appears to be no built-in functionality for this purpose.
Request:
- Guidance on how to properly rollback specific migrations.
- If this feature is not currently available, a feature request to include migration rollback functionality in Contember would be appreciated.
Thank you.