summaryrefslogtreecommitdiff
path: root/db/migrate/20220421114418_make_fingerprint_nullable_for_group_deploy_key.rb
blob: 587ebf1289db8bc3f49aaa4f7ce99f98569a9eae (plain)
1
2
3
4
5
6
7
8
9
10
11
# 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