debian-mirror-gitlab/db/migrate/20230228135034_add_design_description_limit.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
297 B
Ruby
Raw Normal View History

2023-05-27 22:25:52 +05:30
# 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