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

20180424090541_add_enforce_terms_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: b8fd71002a1b4f2c6a9913b0ecbc2849f4183999 (plain)
1
2
3
4
5
6
7
8
9
10
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration[4.2]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    # rubocop:disable Migration/SaferBooleanColumn
    add_column :application_settings, :enforce_terms, :boolean, default: false
  end
end