diff options
Diffstat (limited to 'db/migrate/20211104012209_add_text_limit_to_application_settings_content_validation_endpoint_url.rb')
-rw-r--r-- | db/migrate/20211104012209_add_text_limit_to_application_settings_content_validation_endpoint_url.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20211104012209_add_text_limit_to_application_settings_content_validation_endpoint_url.rb b/db/migrate/20211104012209_add_text_limit_to_application_settings_content_validation_endpoint_url.rb new file mode 100644 index 00000000000..4062fd1be01 --- /dev/null +++ b/db/migrate/20211104012209_add_text_limit_to_application_settings_content_validation_endpoint_url.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class AddTextLimitToApplicationSettingsContentValidationEndpointUrl < Gitlab::Database::Migration[1.0] + disable_ddl_transaction! + + def up + add_text_limit :application_settings, :content_validation_endpoint_url, 255 + end + + def down + remove_text_limit :application_settings, :content_validation_endpoint_url + end +end |