Uh oh!
There was an error while loading. Please reload this page.
Only mark migrations as installed after execution - #25924
Conversation
The problem is that if a developer creates a structural error in their migration file, they will already be marked as executed and an not be rerun. Signed-off-by: Joas Schilling <coding@schilljs.com>
rullzer
left a comment
There was a problem hiding this comment.
Won't this cause problems if part of it has been applied?
Well currently all are marked as executed even if nothing is executed... This basically boils down to the "code safe for your step and depend on others", e.g.
|
Rello
commented
Mar 5, 2021
I could add the current case: A fix to the migration file was released, but it was not possible to re-execute it |
MorrisJobke
commented
Mar 17, 2021
@nickvergessen Do we want to backport this? |
nickvergessen
commented
Mar 30, 2021
/backport to stable21 |
The problem is that if a developer creates a structural error in their migration file,
they will already be marked as executed and an not be rerun.
Happened to @Rello in the analytics app.