Commit 8869dde7 authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'nicolasdular/remove-storage-size-limit-column' into 'master'

Remove storage limit column from application settings

See merge request gitlab-org/gitlab!46676
parents 8f1dc265 e7ecda89
---
title: Remove storage limit column from application settings
merge_request: 46676
author:
type: removed
# frozen_string_literal: true
class RemoveStorageSizeLimitFromApplicationSettings < ActiveRecord::Migration[6.0]
DOWNTIME = false
def up
remove_column :application_settings, :namespace_storage_size_limit
end
def down
add_column :application_settings, :namespace_storage_size_limit, :bigint, default: 0
end
end
dc1c372f4976e3747d7201406123a54e3852d9ea9516089043a93698a09e2f9f
\ No newline at end of file
...@@ -9293,7 +9293,6 @@ CREATE TABLE application_settings ( ...@@ -9293,7 +9293,6 @@ CREATE TABLE application_settings (
email_restrictions_enabled boolean DEFAULT false NOT NULL, email_restrictions_enabled boolean DEFAULT false NOT NULL,
email_restrictions text, email_restrictions text,
npm_package_requests_forwarding boolean DEFAULT true NOT NULL, npm_package_requests_forwarding boolean DEFAULT true NOT NULL,
namespace_storage_size_limit bigint DEFAULT 0 NOT NULL,
seat_link_enabled boolean DEFAULT true NOT NULL, seat_link_enabled boolean DEFAULT true NOT NULL,
container_expiration_policies_enable_historic_entries boolean DEFAULT false NOT NULL, container_expiration_policies_enable_historic_entries boolean DEFAULT false NOT NULL,
issues_create_limit integer DEFAULT 0 NOT NULL, issues_create_limit integer DEFAULT 0 NOT NULL,
......
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