Commit f5cec815 authored by Adam Hegyi's avatar Adam Hegyi

Merge branch '227054-eng-add-db-column-to-indicate-temporarily-increased-storage' into 'master'

Add db column to indicate temporarily increased storage

Closes #227054

See merge request gitlab-org/gitlab!36107
parents e9dfb832 cccc6f14
---
title: Add temporary storage increase column
merge_request: 36107
author:
type: added
# frozen_string_literal: true
class AddTemporaryStorageIncreaseToNamespaceLimits < ActiveRecord::Migration[6.0]
DOWNTIME = false
def change
add_column :namespace_limits, :temporary_storage_increase_ends_on, :date, null: true
end
end
......@@ -13014,7 +13014,8 @@ CREATE TABLE public.namespace_aggregation_schedules (
CREATE TABLE public.namespace_limits (
additional_purchased_storage_size bigint DEFAULT 0 NOT NULL,
additional_purchased_storage_ends_on date,
namespace_id integer NOT NULL
namespace_id integer NOT NULL,
temporary_storage_increase_ends_on date
);
CREATE TABLE public.namespace_root_storage_statistics (
......@@ -23580,5 +23581,6 @@ COPY "schema_migrations" (version) FROM STDIN;
20200703154822
20200704143633
20200706005325
20200706170536
\.
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