Skip to content

Draft: Run migrations in milestone order

Jon Jenkins requested to merge 414014-milestone-order into master

What does this MR do and why?

Extends work begun in !126111 (closed) (see other discussions there)

This checklist is likely to grow. Checked items are implemented as of latest commit on branch.

  • Adds a new migration version that requires a milestone to be specified
  • Adds a custom version object that ActiveRecord code can sort to run migrations
  • Adds a custom sortable milestone object
  • Overrides a bit of ActiveRecord code to ensure version is loaded
  • Supplemental Rake task to specify milestones

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #414014 (closed)

Edited by Jon Jenkins

Merge request reports