Commit graph

5 commits

Author SHA1 Message Date
Mayra Cabrera
4706352416 Adds cop to enforce string limits on migrations
This cop will analyze migrations that add columns with string, and
report an offense if the string has no limit enforced

Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/64505
2019-08-23 21:36:12 +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
Kamil Trzciński
a7192e2efc Revert "Merge branch 'revert-drop-gcp-clusters-table' into 'master'" 2018-11-14 11:21:05 +00:00
Shinya Maeda
b88f2ac542 Revert Drop gcp_clusters table 2018-11-06 20:25:28 +09:00
Shinya Maeda
44089058d9 Drop gcp_clusters table 2018-10-31 19:13:44 +09:00