summaryrefslogtreecommitdiffstats
path: root/db/migrate/20200826153402_add_totp_to_user.rb
blob: 6842878e3e9566c9f3b632acb2e400148d2d0bad (plain)
1
2
3
4
5
6
class AddTotpToUser < ActiveRecord::Migration[5.2]
  def change
    add_column :users, :twofa_totp_key, :string
    add_column :users, :twofa_totp_last_used_at, :integer
  end
end