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

20210623074226_add_usage_ping_features_enabled_to_application_settings.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 7a70f695039f58a56a82e1d0960cca5cb72a758f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class AddUsagePingFeaturesEnabledToApplicationSettings < ActiveRecord::Migration[6.1]
  def up
    add_column :application_settings, :usage_ping_features_enabled, :boolean, default: false, null: false
  end

  def down
    remove_column :application_settings, :usage_ping_features_enabled
  end
end