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

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

class AddGroupIdToVulnerabilityExports < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def change
    add_column :vulnerability_exports, :group_id, :integer
    change_column_null :vulnerability_exports, :project_id, true
  end
end