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

20230106131659_add_fingerprint_to_ssh_signatures.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ba792a1ae4336685ef467397aa5c2981f13b3e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddFingerprintToSshSignatures < Gitlab::Database::Migration[2.1]
  disable_ddl_transaction!

  def up
    add_column :ssh_signatures, :key_fingerprint_sha256, :bytea, if_not_exists: true
  end

  def down
    remove_column :ssh_signatures, :key_fingerprint_sha256, :bytea, if_exists: true
  end
end