The code powering m.abunchtell.com https://m.abunchtell.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

10 lines
365 B

  1. class AddDeviseTwoFactorToUsers < ActiveRecord::Migration[5.0]
  2. def change
  3. add_column :users, :encrypted_otp_secret, :string
  4. add_column :users, :encrypted_otp_secret_iv, :string
  5. add_column :users, :encrypted_otp_secret_salt, :string
  6. add_column :users, :consumed_timestep, :integer
  7. add_column :users, :otp_required_for_login, :boolean
  8. end
  9. end