blob: 4d4a20b83b3b0ed136c6c6616f9f95d509c155e2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
class RemoveNotNullConstraintForSecurityScanSucceeded < Gitlab::Database::Migration[1.0]
def up
change_column_null :analytics_devops_adoption_snapshots, :security_scan_succeeded, true
end
def down
# There may now be nulls in the table, so we cannot re-add the constraint here.
end
end
|