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

20200922095954_remove_instance_statistics_visibility_private_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: 1d01e54013d3ff07e2b9432b65bcc47fe45b23b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class RemoveInstanceStatisticsVisibilityPrivateFromApplicationSettings < ActiveRecord::Migration[6.0]
  DOWNTIME = false

  def up
    remove_column :application_settings, :instance_statistics_visibility_private
  end

  def down
    add_column :application_settings, :instance_statistics_visibility_private, :boolean, default: false, null: false
  end
end