diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 21:09:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-07-30 21:09:35 +0000 |
commit | 5629d98f5325487f66dea52c2d662ea4b46d8c07 (patch) | |
tree | 79e7ed48781c2643fe556d3215c0fc8bcc5d0e0e /db | |
parent | 1b26aaa633642ea33f1fb9d7e8680892c8ca795d (diff) | |
download | gitlab-ce-5629d98f5325487f66dea52c2d662ea4b46d8c07.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200728175710_add_enforce_namespace_storage_limit_to_application_settings.rb | 9 | ||||
-rw-r--r-- | db/schema_migrations/20200728175710 | 1 | ||||
-rw-r--r-- | db/structure.sql | 1 |
3 files changed, 11 insertions, 0 deletions
diff --git a/db/migrate/20200728175710_add_enforce_namespace_storage_limit_to_application_settings.rb b/db/migrate/20200728175710_add_enforce_namespace_storage_limit_to_application_settings.rb new file mode 100644 index 00000000000..adbc86ec621 --- /dev/null +++ b/db/migrate/20200728175710_add_enforce_namespace_storage_limit_to_application_settings.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddEnforceNamespaceStorageLimitToApplicationSettings < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column :application_settings, :enforce_namespace_storage_limit, :boolean, default: false, null: false + end +end diff --git a/db/schema_migrations/20200728175710 b/db/schema_migrations/20200728175710 new file mode 100644 index 00000000000..0ba117d0ead --- /dev/null +++ b/db/schema_migrations/20200728175710 @@ -0,0 +1 @@ +a3a6d4e488c9979efd61890a15fdfe4ccea044a0b030b392ad39885cc807f22d
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index 84044a0ad56..4b1f18073c1 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -9248,6 +9248,7 @@ CREATE TABLE public.application_settings ( maintenance_mode_message text, wiki_page_max_content_bytes bigint DEFAULT 52428800 NOT NULL, elasticsearch_indexed_file_size_limit_kb integer DEFAULT 1024 NOT NULL, + enforce_namespace_storage_limit boolean DEFAULT false NOT NULL, CONSTRAINT check_51700b31b5 CHECK ((char_length(default_branch_name) <= 255)), CONSTRAINT check_9c6c447a13 CHECK ((char_length(maintenance_mode_message) <= 255)), CONSTRAINT check_d03919528d CHECK ((char_length(container_registry_vendor) <= 255)), |