diff options
Diffstat (limited to 'db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb')
-rw-r--r-- | db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb b/db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb new file mode 100644 index 00000000000..8fb98abad8c --- /dev/null +++ b/db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +class AddTextLimitToIntegrationsTypeNew < ActiveRecord::Migration[6.1] + include Gitlab::Database::MigrationHelpers + + disable_ddl_transaction! + + def up + add_text_limit :integrations, :type_new, 255 + end + + def down + remove_text_limit :integrations, :type_new + end +end |