gitlab-org--gitlab-foss/rubocop
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
..
cop Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
migration_helpers.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
model_helpers.rb Added Cop to blacklist polymorphic associations 2017-06-07 17:36:55 +02:00
rubocop.rb Add cop for use of remove_column 2017-12-11 16:34:51 +00:00
spec_helpers.rb Add a new RSpec::EnvAssignment cop to prevent assigning to ENV in specs 2017-10-18 18:42:09 +02:00