debian-mirror-gitlab/db/post_migrate/20190715114644_drop_project_features_pages_access_level_default.rb
2019-09-30 21:07:59 +05:30

13 lines
316 B
Ruby

# 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