debian-mirror-gitlab/db/migrate/20151218154042_add_tfa_to_application_settings.rb
2016-06-16 23:09:34 +05:30

9 lines
280 B
Ruby

# rubocop:disable all
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