14 lines
309 B
Ruby
14 lines
309 B
Ruby
![]() |
# 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
|