gitlab-org--gitlab-foss/db/migrate/20151218154042_add_tfa_to_a...

9 lines
263 B
Ruby

class AddTfaToApplicationSettings < ActiveRecord::Migration[4.2]
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