Added TOTP toggle status to schema.

This commit is contained in:
Logan Fick
2018-06-07 20:27:13 -04:00
parent 201e59964e
commit a241749ee3
2 changed files with 4 additions and 3 deletions

View File

@@ -1,5 +1,6 @@
class AddTotpToUsers < ActiveRecord::Migration
def change
add_column :users, :totp, :string
add_column :users, :totp_code, :string
add_column :users, :totp_enabled, :boolean, default: false
end
end