debian-mirror-gitlab/db/migrate/20230228135034_add_design_description_limit.rb
2023-05-27 22:25:52 +05:30

13 lines
297 B
Ruby

# frozen_string_literal: true
class AddDesignDescriptionLimit < Gitlab::Database::Migration[2.1]
disable_ddl_transaction!
def up
add_text_limit :design_management_designs, :description, 1_000_000
end
def down
remove_text_limit :design_management_designs, :description
end
end