Commit Graph

4 Commits

Author SHA1 Message Date
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
Lin Jen-Shin ac089ba5af Only indent if the subsequent line is a subquery 2017-06-29 22:24:28 +08:00
Lin Jen-Shin 42a9eea791 Better indent the SQL 2017-06-27 21:14:38 +08:00
Lin Jen-Shin 10e732d2bb Rename instead of delete, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/12363#note_33449374
2017-06-27 17:46:45 +08:00