# 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
