summaryrefslogtreecommitdiff
path: root/db/migrate/20230217144421_add_check_type_to_pre_scan_step.rb
blob: e4b59c28d738f0387c906361ba9f5ee64a4fe38f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddCheckTypeToPreScanStep < Gitlab::Database::Migration[2.1]
  def up
    add_column :dast_pre_scan_verification_steps, :check_type, :integer, limit: 2, default: 0, null: false
  end

  def down
    remove_column :dast_pre_scan_verification_steps, :check_type
  end
end