Commit Graph

4 Commits

Author SHA1 Message Date
GitLab Bot 88542a5e96 Add latest changes from gitlab-org/gitlab@master 2019-11-19 15:06:24 +00:00
Jan Provaznik 0fc9f9d3e7 Add version 4.2 to all existing migrations
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.

See https://stackoverflow.com/questions/35929869/activerecordmigration-deprecation-warning-asks-for-rails-version-but-im-no/35930912#35930912
2018-11-22 13:18:28 +01:00
Mark Chao b47e666026 Make migration symmetric 2018-11-05 20:09:11 +08:00
Mark Chao c4bcb3a92a Add index to speed up loading projects from DeployToken 2018-11-05 20:09:11 +08:00