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

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

class AddProjectIdToScanResultPolicies < Gitlab::Database::Migration[2.1]
  def up
    add_column :scan_result_policies, :project_id, :bigint
  end

  def down
    remove_column :scan_result_policies, :project_id
  end
end