gitlab-org--gitlab-foss/rubocop/cop/migration
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
..
add_column.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
add_concurrent_foreign_key.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
add_concurrent_index.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
add_index.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
add_limit_to_string_columns.rb Adds cop to enforce string limits on migrations 2019-08-23 21:36:12 +00:00
add_reference.rb Make add_reference cop accept a hash for :index 2018-11-27 11:40:38 +01:00
add_timestamps.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
datetime.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
hash_index.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
remove_column.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
remove_concurrent_index.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
remove_index.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
reversible_add_column_with_default.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
safer_boolean_column.rb Resolve "Make a Rubocop that forbids returning from a block" 2018-04-18 09:19:40 +00:00
timestamps.rb Use gitlab-styles 2017-12-22 08:34:44 -06:00
update_column_in_batches.rb Properly handle `ee` migration specs 2019-03-28 05:48:53 +08:00
update_large_table.rb Add more large tables to cop 2018-06-22 12:08:39 +01:00