blob: 3ea003383a67d374b2c3cc5e882022f6119e45e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class AddNotNullConstraintToIssuesWorkItemType < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
add_not_null_constraint :issues, :work_item_type_id, validate: false
end
def down
remove_not_null_constraint :issues, :work_item_type_id
end
end
|