blob: eab02663e26fff1d7fbbe6b27b955e7c9bc752d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# frozen_string_literal: true
class AddScanFilePathToDastSiteProfile < Gitlab::Database::Migration[2.0]
# rubocop:disable Migration/AddLimitToTextColumns
# limit is added in 20221012135524_add_scan_file_path_limit_for_dast_site_profile
def up
add_column :dast_site_profiles, :scan_file_path, :text
end
# rubocop:enable Migration/AddLimitToTextColumns
def down
remove_column :dast_site_profiles, :scan_file_path, :text
end
end
|