Skip to content

Add rails version to all migrations

Jan Provaznik requested to merge jprovazn-versioned-migrations into master

What does this MR do?

DB schema generated by a migration may look different in rails 4 and 5 (because rails 5 may use different default values). For this reason it's important to explicitly set for which rails version a migration was written for.

What are the relevant issue numbers?

Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/54098

Does this MR meet the acceptance criteria?

Edited by Jan Provaznik

Merge request reports