summaryrefslogtreecommitdiff
path: root/db/migrate/20221012135524_add_scan_file_path_limit_for_dast_site_profile.rb
blob: ab8846c8043c1d718c359a88e694daa7526608a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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