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: 306cd7377710e9c3550d664e489ff56c68aed644 (plain)
1
2
3
4
5
6
7
8
9
class AddEnforceTermsToApplicationSettings < ActiveRecord::Migration
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :application_settings, :enforce_terms, :boolean, default: false
  end
end