BigW Consortium Gitlab

20150327223628_add_devise_two_factor_to_users.rb 330 Bytes
# rubocop:disable all
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