Commit b8cf8550 authored by Bob Van Landuyt's avatar Bob Van Landuyt

Merge branch '222980-add-static-info-for-storage' into 'master'

Add storage_size_limit to plan_limits table

See merge request gitlab-org/gitlab!35219
parents 705ae6ed ef7b7d31
# frozen_string_literal: true
class AddStorageSizeLimitToPlanLimit < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :plan_limits, :storage_size_limit, :integer, default: 0, null: false
end
end
......@@ -5032,7 +5032,8 @@ CREATE TABLE public.plan_limits (
ci_project_subscriptions integer DEFAULT 2 NOT NULL,
ci_pipeline_schedules integer DEFAULT 10 NOT NULL,
offset_pagination_limit integer DEFAULT 50000 NOT NULL,
ci_instance_level_variables integer DEFAULT 25 NOT NULL
ci_instance_level_variables integer DEFAULT 25 NOT NULL,
storage_size_limit integer DEFAULT 0 NOT NULL
);
CREATE SEQUENCE public.plan_limits_id_seq
......@@ -14163,5 +14164,6 @@ COPY "schema_migrations" (version) FROM STDIN;
20200623000148
20200623000320
20200623121135
20200624075411
\.
---
title: Add storage_size_limit to plan_limits table
merge_request: 35219
author:
type: added
......@@ -52,6 +52,7 @@ RSpec.describe PlanLimits do
ci_active_pipelines
ci_pipeline_size
ci_active_jobs
storage_size_limit
]
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