debian-mirror-gitlab/db/migrate/20221115085813_add_limit_to_appereances_short_title.rb
2023-03-04 22:38:38 +05:30

14 lines
269 B
Ruby

# frozen_string_literal: true
class AddLimitToAppereancesShortTitle < Gitlab::Database::Migration[2.0]
disable_ddl_transaction!
def up
add_text_limit :appearances, :short_title, 255
end
def down
remove_text_limit :appearances, :short_title
end
end