Open Closed

ABP DbMigrator Rollback Feature #3733


User avatar
0
mert.kir created

We use Abp Db migrator in our CI/CD pipeline to apply migrations forward. However in a production environment when an upgrade causes an unexpected behaviour/bug, it is also needed to rollback to the previous version of the app with the matching db structure. Since DB Migrator is used to apply migrations forward, I guess it is a good candidate to make the rollback as well. I wonder if it is possible to add this feature to the framework and if it is already in the roadmap for some future relaeses. If not could you please explain why this feature is not covered in any future time?

IMO the following features may be included to the DB Migrator:

  • Rollback to the previous (or any) version
  • Should support multitenancy and multiple DBs for different tenants considering the performance issues
  • Logs should be extended to help understanding any problem if occurs
  • Seed data contributors may be considered as well

1 Answer(s)
  • User Avatar
    0
    liangshiwei created
    Support Team Fullstack Developer

    Hi,

    We have a question for this before: https://support.abp.io/QA/Questions/3209/ABP-DbMigrator---Reverting-last-database-update-migration

    Unfortunately, we won't be adding this feature.

Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07