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

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

class AddTextLimitToVulnerabilityReadsClusterAgentId < Gitlab::Database::Migration[1.0]
  disable_ddl_transaction!

  def up
    add_text_limit :vulnerability_reads, :cluster_agent_id, 10
  end

  def down
    remove_text_limit :vulnerability_reads, :cluster_agent_id
  end
end