Commit e0391009 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Add code_owner_approval column to projects

The `merge_requests_require_code_owner_approval` for projects will
indicate whether or not merge requests in the project will require
approval from relevant codeowners.
parent 4c7b20f1
......@@ -2433,6 +2433,7 @@ ActiveRecord::Schema.define(version: 20190301081611) do
t.bigint "pool_repository_id"
t.string "runners_token_encrypted"
t.string "bfg_object_map"
t.boolean "merge_requests_require_code_owner_approval"
t.index ["ci_id"], name: "index_projects_on_ci_id", using: :btree
t.index ["created_at"], name: "index_projects_on_created_at", using: :btree
t.index ["creator_id"], name: "index_projects_on_creator_id", using: :btree
......
# frozen_string_literal: true
class AddMergeRequestsRequireCodeownerApprovalToProjects < ActiveRecord::Migration[5.0]
include Gitlab::Database::MigrationHelpers
DOWNTIME = false
def change
add_column :projects, :merge_requests_require_code_owner_approval, :boolean
end
end
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