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

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

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

  def change
    change_table :vulnerabilities do |t|
      t.boolean :resolved_on_default_branch, default: false, null: false
    end
  end
end