summaryrefslogtreecommitdiff
path: root/db/migrate/20190929180813_add_reference_from_vulnerability_occurrences_to_occurrences.rb
blob: eb8e8fb73d127cd0b23655af71e2bc2dfe6aa789 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

# See http://doc.gitlab.com/ce/development/migration_style_guide.html
# for more information on how to write migrations for GitLab.

class AddReferenceFromVulnerabilityOccurrencesToOccurrences < ActiveRecord::Migration[5.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :vulnerability_occurrences, :vulnerability_id, :bigint
  end
end