debian-mirror-gitlab/db/migrate/20210721134707_add_text_limit_to_integrations_type_new.rb

16 lines
309 B
Ruby
Raw Normal View History

2021-10-27 15:23:28 +05:30
# 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