BigW Consortium Gitlab

20150327223628_add_devise_two_factor_to_users.rb 330 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9
class AddDeviseTwoFactorToUsers < ActiveRecord::Migration
  def change
    add_column :users, :encrypted_otp_secret, :string
    add_column :users, :encrypted_otp_secret_iv, :string
    add_column :users, :encrypted_otp_secret_salt, :string
    add_column :users, :otp_required_for_login, :boolean
  end
end