gitlab-org--gitlab-foss/rubocop/cop/migration
Sean McGivern 1ab33b15d1 Add cop for use of remove_column
remove_column should only be used in the up (or change) step of a migration if
it's a post-deployment migration. Otherwise there will be downtime due to the
ActiveRecord column cache, which we can avoid by using the IgnorableColumn
concern in combination with a post-deployment migration.
2017-12-11 16:34:51 +00:00
..
add_column.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
add_concurrent_foreign_key.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
add_concurrent_index.rb Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
add_index.rb Enable Style/MutableConstant 2017-02-23 09:31:56 -06:00
add_timestamps.rb Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
datetime.rb Also warn on timestamp in datetime migration cop 2017-10-10 10:36:10 +01:00
hash_index.rb Added cop to blacklist the use of hash indexes 2017-07-14 13:19:00 +02:00
remove_column.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
remove_concurrent_index.rb Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
remove_index.rb Add remove_concurrent_index to database helper 2017-04-06 09:53:57 +11:00
reversible_add_column_with_default.rb Rename AddColumnWithDefault to ReversibleAddColumnWithDefault 2017-04-28 15:55:53 -05:00
safer_boolean_column.rb Add SaferBooleanColumn cop 2017-08-14 07:57:57 -07:00
timestamps.rb Add database helpers 'add_timestamps_with_timezone' and 'timestamps_with_timezone' 2017-06-13 22:44:13 +11:00
update_column_in_batches.rb New Migration/UpdateColumnInBatches cop 2017-05-29 11:28:23 +02:00
update_large_table.rb Prevent update_column_in_batches on large tables 2017-11-17 16:56:50 +00:00