BigW Consortium Gitlab

20160519203051_add_developers_can_merge_to_protected_branches.rb 286 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
class AddDevelopersCanMergeToProtectedBranches < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  disable_ddl_transaction!

  def change
    add_column_with_default :protected_branches, :developers_can_merge, :boolean, default: false, allow_null: false
  end
end