debian-mirror-gitlab/db/migrate/20221012135524_add_scan_file_path_limit_for_dast_site_profile.rb
2022-11-25 23:54:43 +05:30

14 lines
297 B
Ruby

# frozen_string_literal: true
class AddScanFilePathLimitForDastSiteProfile < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
add_text_limit :dast_site_profiles, :scan_file_path, 1024
end
def down
remove_text_limit :dast_site_profiles, :scan_file_path
end
end