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