-
Notifications
You must be signed in to change notification settings - Fork 18
Description
In current migrations implementation it is possible case when migration fails after implementing some changes.
If such migration fails you must rollback it manually from db.
I know about the problem with transactions for db schema modifications.
But if you have down method with correct commands order php can make these action to revert already applied changes. Iunderstand that it fails when met some not applied changes.
But it will rollback applied changes and you don't need to rollback it manually.
For example it can be implemented as some mode for migrations.
This problem with rollback migrations seems to me very strange as soon as I didn't met it on different Symfony+Doctrine projects with migrations. Doctrine migrations make rollback in any case. Maybe they have some solution for this problem?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status