blob: cf06e3562d58d058dd71eccb23e0a3a48bfd2e7e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
class ValidateUserTypeConstraint < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
validate_not_null_constraint(:users, :user_type)
end
def down
# no-op
end
end
|