You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running this result in a partial failure; part of the migration is executed with no problem but it fails after.
The result is that I end up with a corrupt migration state. Since this can happen and can lead to potential bugs and or manual intervention to correct the db state, I believe that by default migrations should run inside a tx unless it is stated otherwise.
This will be simply fixed by making DefaultConfiguration return UseTransaction: true
The text was updated successfully, but these errors were encountered:
I have a mult-steps migration like:
Running this result in a partial failure; part of the migration is executed with no problem but it fails after.
The result is that I end up with a corrupt migration state. Since this can happen and can lead to potential bugs and or manual intervention to correct the db state, I believe that by default migrations should run inside a tx unless it is stated otherwise.
This will be simply fixed by making
DefaultConfiguration
returnUseTransaction: true
The text was updated successfully, but these errors were encountered: