blob: 67e2cc0eea08bdfb9561ca26b0006b82e80a76e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
class AddDraftColumnToMergeRequests < ActiveRecord::Migration[6.0]
include Gitlab::Database::MigrationHelpers
def up
with_lock_retries do
add_column :merge_requests, :draft, :boolean, default: false, null: false
end
end
def down
with_lock_retries do
remove_column :merge_requests, :draft
end
end
end
|