blob: 44a614a34ce0ce6db3433a4110fda22a772fb677 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
class ChangeColumnNullTestReportRequirement < ActiveRecord::Migration[6.1]
include Gitlab::Database::MigrationHelpers
TARGET_TABLE = :requirements_management_test_reports
def up
with_lock_retries do
change_column_null TARGET_TABLE, :requirement_id, true
end
end
def down
# no-op as it's difficult to revert
end
end
|