diff options
Diffstat (limited to 'db/migrate/20200818171229_add_package_max_file_size_to_plan_limits.rb')
-rw-r--r-- | db/migrate/20200818171229_add_package_max_file_size_to_plan_limits.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/db/migrate/20200818171229_add_package_max_file_size_to_plan_limits.rb b/db/migrate/20200818171229_add_package_max_file_size_to_plan_limits.rb new file mode 100644 index 00000000000..5343da6ed5e --- /dev/null +++ b/db/migrate/20200818171229_add_package_max_file_size_to_plan_limits.rb @@ -0,0 +1,13 @@ +# frozen_string_literal: true + +class AddPackageMaxFileSizeToPlanLimits < ActiveRecord::Migration[6.0] + DOWNTIME = false + + def change + add_column(:plan_limits, :conan_max_file_size, :bigint, default: 50.megabytes, null: false) + add_column(:plan_limits, :maven_max_file_size, :bigint, default: 50.megabytes, null: false) + add_column(:plan_limits, :npm_max_file_size, :bigint, default: 50.megabytes, null: false) + add_column(:plan_limits, :nuget_max_file_size, :bigint, default: 50.megabytes, null: false) + add_column(:plan_limits, :pypi_max_file_size, :bigint, default: 50.megabytes, null: false) + end +end |