Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20220421114418_make_fingerprint_nullable_for_group_deploy_key.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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