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

20230106125945_add_user_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: 9e487287b668ff8510977e59e3e1793c89fb4486 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddUserToSshSignatures < Gitlab::Database::Migration[2.1]
  def up
    add_column :ssh_signatures, :user_id, :bigint, if_not_exists: true, null: true
  end

  def down
    remove_column :ssh_signatures, :user_id, if_exists: true
  end
end