gitlab-org--gitlab-foss/db/migrate/20211124095704_add_draft_no...

14 lines
264 B
Ruby

# frozen_string_literal: true
class AddDraftNotesLineCodeTextLimit < Gitlab::Database::Migration[1.0]
disable_ddl_transaction!
def up
add_text_limit :draft_notes, :line_code, 255
end
def down
remove_text_limit :draft_notes, :line_code
end
end