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

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

class AddOverriddenUuidToSecurityFindings < ActiveRecord::Migration[6.1]
  include Gitlab::Database::MigrationHelpers

  def up
    with_lock_retries do
      add_column :security_findings, :overridden_uuid, :uuid, null: true
    end
  end

  def down
    with_lock_retries do
      remove_column :security_findings, :overridden_uuid
    end
  end
end