diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-28 09:09:35 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-28 09:09:35 +0000 |
commit | 15b34520549c1f67bd92469003fe5a9260e34e43 (patch) | |
tree | 386d8d90c2c627e44650b4989947fec23c143e80 /db | |
parent | 1d42c38d9b4d4ca651db435c8eb0c47bd24a25e2 (diff) | |
download | gitlab-ce-15b34520549c1f67bd92469003fe5a9260e34e43.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20200916165232_add_debian_max_file_size_to_plan_limits.rb | 9 | ||||
-rw-r--r-- | db/schema_migrations/20200916165232 | 1 | ||||
-rw-r--r-- | db/structure.sql | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/db/migrate/20200916165232_add_debian_max_file_size_to_plan_limits.rb b/db/migrate/20200916165232_add_debian_max_file_size_to_plan_limits.rb new file mode 100644 index 00000000000..9a91a5d2195 --- /dev/null +++ b/db/migrate/20200916165232_add_debian_max_file_size_to_plan_limits.rb @@ -0,0 +1,9 @@ +# frozen_string_literal: true + +class AddDebianMaxFileSizeToPlanLimits < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column :plan_limits, :debian_max_file_size, :bigint, default: 3.gigabytes, null: false + end +end diff --git a/db/schema_migrations/20200916165232 b/db/schema_migrations/20200916165232 new file mode 100644 index 00000000000..8e97fcf3efa --- /dev/null +++ b/db/schema_migrations/20200916165232 @@ -0,0 +1 @@ +18a3981a3becefe6700dd5fea87e8ba9478c0e83ddc80de1b3ee2ed77c221ce6
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index 770f072bb94..b63f996487f 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -14365,7 +14365,8 @@ CREATE TABLE plan_limits ( nuget_max_file_size bigint DEFAULT 524288000 NOT NULL, pypi_max_file_size bigint DEFAULT '3221225472'::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 ); CREATE SEQUENCE plan_limits_id_seq |