On Failed Migration rollback doesn't happend on the database
If any migration file have multiple line of statement, and if 3rd line cause any error to failed the migration then changes made by 1st and 2nd line on the database did not rollback. so next time when i try to fix the issue of 3rd line and rerun the migration got error on 1st and 2nd line that those are already applied.
reproduce code & more details:
https://github.com/milon27/dirzzle-kit-error#error-statement
GitHub
GitHub - milon27/dirzzle-kit-error
Contribute to milon27/dirzzle-kit-error development by creating an account on GitHub.
2 Replies
GitHub
On Failed Migration rollback doesn't happend on the database · Issu...
If any migration file have multiple line of statement, and if 3rd line cause any error to failed the migration then changes made by 1st and 2nd line on the database did not rollback. so next time w...
@Andrew Sherman would you please check