gitlab-org--gitlab-foss/spec/rubocop/cop/migration
Sean McGivern d8be981466 Prevent update_column_in_batches on large tables
add_column_with_default is implemented in terms of update_column_in_batches, but
update_column_in_batches can be used independently. Neither of these should be
used on the specified large tables, because they will cause issues on large
instances like GitLab.com.

This also ignores the cop for all existing migrations, renaming
AddColumnWithDefaultToLargeTable where appropriate.
2017-11-17 16:56:50 +00:00
..
add_concurrent_foreign_key_spec.rb Enforce use of add_concurrent_foreign_key 2017-02-10 21:51:09 +01:00
add_concurrent_index_spec.rb Add cop to ensure reversibility of add_concurrent_index 2017-03-07 10:09:01 -06:00
add_timestamps_spec.rb Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
datetime_spec.rb Also warn on timestamp in datetime migration cop 2017-10-10 10:36:10 +01:00
hash_index_spec.rb Added cop to blacklist the use of hash indexes 2017-07-14 13:19:00 +02:00
remove_concurrent_index_spec.rb Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
remove_index_spec.rb Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
reversible_add_column_with_default_spec.rb Rename AddColumnWithDefault to ReversibleAddColumnWithDefault 2017-04-28 15:55:53 -05:00
safer_boolean_column_spec.rb Add SaferBooleanColumn cop 2017-08-14 07:57:57 -07:00
timestamps_spec.rb Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
update_column_in_batches_spec.rb Enable Style/DotPosition Rubocop 👮 2017-06-21 13:48:12 +00:00
update_large_table_spec.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00