Migrations: ordering of tasks is incorrect! #6972
Labels
bug
[triage] something behaving unexpectedly
help wanted
[triage] Ideal issues for contributors to help with
Milestone
As we add more and more migrations to Ghost, it has become clear that we're not doing migrations in the correct order.
If you upgrade from an old blog running on data version 003, you'll get the migrations in the following order:
There isn't a case (as far as I know) where this will break at the moment, but if we ever remove or rename a column for which there is an old migration, the migrations will fail because the change to the column in the new migration will happen before the fixture migration runs.
To be correct, the migrations should happen in this order:
The text was updated successfully, but these errors were encountered: