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

20220805001210_add_text_limit_to_vulnerability_state_transitions_comment.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dd84c0620ce4420b7b2b0c005461e175f8f693e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddTextLimitToVulnerabilityStateTransitionsComment < Gitlab::Database::Migration[2.0]
  disable_ddl_transaction!

  def up
    add_text_limit :vulnerability_state_transitions, :comment, 255
  end

  def down
    remove_text_limit :vulnerability_state_transitions, :comment
  end
end