Commit aa6b3156 authored by Michael Eddington's avatar Michael Eddington Committed by Heinrich Lee Yu

Add API Fuzzing plan limits db column

parent 953eef55
---
title: Add API Fuzzing plan limits db column
merge_request: 43934
author:
type: added
# frozen_string_literal: true
class AddApiFuzzingToPlanLimits < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :plan_limits, "ci_max_artifact_size_api_fuzzing", :integer, default: 0, null: false
end
end
1ded640c70d5e569f0f26729c96d2dc27c528bcb045e28f073ed8fce9f918d95
\ No newline at end of file
...@@ -14386,7 +14386,8 @@ CREATE TABLE plan_limits ( ...@@ -14386,7 +14386,8 @@ CREATE TABLE plan_limits (
pypi_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL, pypi_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
generic_packages_max_file_size bigint DEFAULT '5368709120'::bigint NOT NULL, generic_packages_max_file_size bigint DEFAULT '5368709120'::bigint NOT NULL,
golang_max_file_size bigint DEFAULT 104857600 NOT NULL, golang_max_file_size bigint DEFAULT 104857600 NOT NULL,
debian_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL debian_max_file_size bigint DEFAULT '3221225472'::bigint NOT NULL,
ci_max_artifact_size_api_fuzzing integer DEFAULT 0 NOT NULL
); );
CREATE SEQUENCE plan_limits_id_seq CREATE SEQUENCE plan_limits_id_seq
......
...@@ -199,6 +199,7 @@ RSpec.describe PlanLimits do ...@@ -199,6 +199,7 @@ RSpec.describe PlanLimits do
ci_max_artifact_size_secret_detection ci_max_artifact_size_secret_detection
ci_max_artifact_size_requirements ci_max_artifact_size_requirements
ci_max_artifact_size_coverage_fuzzing ci_max_artifact_size_coverage_fuzzing
ci_max_artifact_size_api_fuzzing
] ]
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment