gitlab-org--gitlab-foss/db/migrate/20220119220620_add_scan_met...

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
286 B
Ruby
Raw Normal View History

# 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