diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 15:08:11 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-12-17 15:08:11 +0300 |
commit | badb9c1deacbea601b02f88811b7e123589d9251 (patch) | |
tree | f4b4f85db49a8c9fc9bd6233ed9f7862c9de8ded /rubocop/cop | |
parent | 5bd24a54ef4ce3a38a860eb53b66d062c2382971 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'rubocop/cop')
-rw-r--r-- | rubocop/cop/migration/add_column.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/rubocop/cop/migration/add_column.rb b/rubocop/cop/migration/add_column.rb index 2530d6477e8..a25bd843559 100644 --- a/rubocop/cop/migration/add_column.rb +++ b/rubocop/cop/migration/add_column.rb @@ -8,7 +8,10 @@ module RuboCop class AddColumn < RuboCop::Cop::Cop include MigrationHelpers - WHITELISTED_TABLES = [:application_settings].freeze + WHITELISTED_TABLES = %i[ + application_settings + plan_limits + ].freeze MSG = '`add_column` with a default value requires downtime, ' \ 'use `add_column_with_default` instead'.freeze |