diff options
Diffstat (limited to 'db/migrate/20200811154631_add_gitpod_application_settings_text_limit.rb')
-rw-r--r-- | db/migrate/20200811154631_add_gitpod_application_settings_text_limit.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20200811154631_add_gitpod_application_settings_text_limit.rb b/db/migrate/20200811154631_add_gitpod_application_settings_text_limit.rb new file mode 100644 index 00000000000..1f43b5d88d5 --- /dev/null +++ b/db/migrate/20200811154631_add_gitpod_application_settings_text_limit.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class AddGitpodApplicationSettingsTextLimit < ActiveRecord::Migration[6.0] + include Gitlab::Database::MigrationHelpers + DOWNTIME = false + + disable_ddl_transaction! + + def up + add_text_limit :application_settings, :gitpod_url, 255 + end + + def down + remove_text_limit :application_settings, :gitpod_url + end +end |