BigW Consortium Gitlab

20161020075734_default_request_access_groups.rb 300 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
class DefaultRequestAccessGroups < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers
  DOWNTIME = false

  def up
    change_column_default :namespaces, :request_access_enabled, false
  end

  def down
    change_column_default :namespaces, :request_access_enabled, true
  end
end