diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 11:59:23 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 12:47:12 +0300 |
commit | b95da565cd91fff0729fb4bf6632fb6224de8843 (patch) | |
tree | bc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb | |
parent | 068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff) |
Enable rubocop for db/**/* and ee/db/**/*
Diffstat (limited to 'db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb')
-rw-r--r-- | db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb b/db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb index dcbbef9bd4a..36f2a593fbe 100644 --- a/db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb +++ b/db/migrate/20180608110058_rename_merge_requests_allow_collaboration.rb @@ -11,6 +11,7 @@ class RenameMergeRequestsAllowCollaboration < ActiveRecord::Migration def up if column_exists?(:merge_requests, :allow_collaboration) + # rubocop:disable Migration/UpdateLargeTable rename_column_concurrently :merge_requests, :allow_collaboration, :allow_maintainer_to_push end end |