2016-06-09 08:39:16 -04:00
|
|
|
# rubocop:disable all
|
2015-12-18 15:29:13 -05:00
|
|
|
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
|