summaryrefslogtreecommitdiff
path: root/db/post_migrate/20190715114644_drop_project_features_pages_access_level_default.rb
blob: 2fb0aa0f4600d516a23bf5d662aeaccc488d855a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

class DropProjectFeaturesPagesAccessLevelDefault < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false
  ENABLED_VALUE = 20

  def change
    change_column_default :project_features, :pages_access_level, from: ENABLED_VALUE, to: nil
  end
end