Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20210311022012_add_text_limits_to_dast_site_profiles.rb')
-rw-r--r--db/migrate/20210311022012_add_text_limits_to_dast_site_profiles.rb24
1 files changed, 0 insertions, 24 deletions
diff --git a/db/migrate/20210311022012_add_text_limits_to_dast_site_profiles.rb b/db/migrate/20210311022012_add_text_limits_to_dast_site_profiles.rb
deleted file mode 100644
index 7858449be14..00000000000
--- a/db/migrate/20210311022012_add_text_limits_to_dast_site_profiles.rb
+++ /dev/null
@@ -1,24 +0,0 @@
-# frozen_string_literal: true
-
-class AddTextLimitsToDastSiteProfiles < ActiveRecord::Migration[6.0]
- include Gitlab::Database::MigrationHelpers
-
- # Set this constant to true if this migration requires downtime.
- DOWNTIME = false
-
- disable_ddl_transaction!
-
- def up
- add_text_limit :dast_site_profiles, :auth_url, 1024
- add_text_limit :dast_site_profiles, :auth_username_field, 255
- add_text_limit :dast_site_profiles, :auth_password_field, 255
- add_text_limit :dast_site_profiles, :auth_username, 255
- end
-
- def down
- remove_text_limit :dast_site_profiles, :auth_username
- remove_text_limit :dast_site_profiles, :auth_password_field
- remove_text_limit :dast_site_profiles, :auth_username_field
- remove_text_limit :dast_site_profiles, :auth_url
- end
-end