Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20211124095704_add_draft_notes_line_code_text_limit.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b3567d6b873ef9224b9d9514c59f3d459ee2726e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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