debian-mirror-gitlab/db/migrate/20220421114418_make_fingerprint_nullable_for_group_deploy_key.rb
2022-07-16 19:58:13 +02:00

12 lines
296 B
Ruby

# frozen_string_literal: true
class MakeFingerprintNullableForGroupDeployKey < Gitlab::Database::Migration[2.0]
def up
change_column_null :group_deploy_keys, :fingerprint, true
end
def down
# There may now be nulls in the table, so we cannot re-add the constraint here.
end
end