Commit 5f0e5223 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'blacklist-project-features-table' into 'master'

Add project_features to large table blacklist

See merge request gitlab-org/gitlab!29554
parents 2f4f7b6d bb18cb63
......@@ -4,11 +4,15 @@ class AddPagesAccessLevelToProjectFeature < ActiveRecord::Migration[4.2]
DOWNTIME = false
# rubocop: disable Migration/UpdateLargeTable
# rubocop: disable Migration/AddColumnWithDefault
def up
add_column_with_default(:project_features, :pages_access_level, :integer, default: ProjectFeature::PUBLIC, allow_null: false)
change_column_default(:project_features, :pages_access_level, ProjectFeature::ENABLED)
end
# rubocop: enable Migration/UpdateLargeTable
# rubocop: enable Migration/AddColumnWithDefault
def down
remove_column :project_features, :pages_access_level
......
......@@ -32,6 +32,7 @@ module RuboCop
project_authorizations
projects
project_ci_cd_settings
project_features
push_event_payloads
resource_label_events
routes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment