Welcome to mirror list, hosted at ThFree Co, Russian Federation.

20201102114018_remove_storage_size_limit_from_application_settings.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6646cf2ad0cc77f5360cb16f6080dbb0f6356778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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