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

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

class AddScanMethodToDastSiteProfile < Gitlab::Database::Migration[1.0]
  def up
    add_column :dast_site_profiles, :scan_method, :integer, limit: 2, default: 0, null: false
  end

  def down
    remove_column :dast_site_profiles, :scan_method
  end
end