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

20151218154042_add_tfa_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: dd95db775c5e5e548b8d567223fd8c9dc2607de0 (plain)
1
2
3
4
5
6
7
8
class AddTfaToApplicationSettings < ActiveRecord::Migration
  def change
    change_table :application_settings do |t|
      t.boolean :require_two_factor_authentication, default: false
      t.integer :two_factor_grace_period, default: 48
    end
  end
end