Run post migrations first in migration test rake task
What does this MR do and why?
It ensures that post-deploy migrations run after regular migrations in the test migration runner, regardless of the version. This is intended to emulate a standard migration cycle where regular migrations are applied first, then post migrations. This solves gitlab-com-database-testing issue 76
How to set up and validate locally
bundle exec rspec spec/lib/gitlab/database/migrations/runner_spec.rb
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Jon Jenkins