|
|
|
@ -32,23 +32,24 @@ module AuthenticatedModelHelper
|
|
|
|
|
silence_stream(STDOUT) do |
|
|
|
|
ActiveRecord::Schema.define(version: 1) do |
|
|
|
|
create_table 'users', force: :cascade do |t| |
|
|
|
|
t.string 'email', default: '', null: false |
|
|
|
|
t.string 'encrypted_password', default: '', null: false |
|
|
|
|
t.string 'reset_password_token' |
|
|
|
|
t.datetime 'reset_password_sent_at' |
|
|
|
|
t.datetime 'remember_created_at' |
|
|
|
|
t.integer 'sign_in_count', default: 0, null: false |
|
|
|
|
t.datetime 'current_sign_in_at' |
|
|
|
|
t.datetime 'last_sign_in_at' |
|
|
|
|
t.string 'current_sign_in_ip' |
|
|
|
|
t.string 'last_sign_in_ip' |
|
|
|
|
t.datetime 'created_at', null: false |
|
|
|
|
t.datetime 'updated_at', null: false |
|
|
|
|
t.integer 'second_factor_attempts_count', default: 0 |
|
|
|
|
t.string 'nickname', limit: 64 |
|
|
|
|
t.string 'otp_secret_key' |
|
|
|
|
t.string 'direct_otp' |
|
|
|
|
t.datetime 'direct_otp_sent_at' |
|
|
|
|
t.string 'email', default: '', null: false |
|
|
|
|
t.string 'encrypted_password', default: '', null: false |
|
|
|
|
t.string 'reset_password_token' |
|
|
|
|
t.datetime 'reset_password_sent_at' |
|
|
|
|
t.datetime 'remember_created_at' |
|
|
|
|
t.integer 'sign_in_count', default: 0, null: false |
|
|
|
|
t.datetime 'current_sign_in_at' |
|
|
|
|
t.datetime 'last_sign_in_at' |
|
|
|
|
t.string 'current_sign_in_ip' |
|
|
|
|
t.string 'last_sign_in_ip' |
|
|
|
|
t.datetime 'created_at', null: false |
|
|
|
|
t.datetime 'updated_at', null: false |
|
|
|
|
t.integer 'second_factor_attempts_count', default: 0 |
|
|
|
|
t.string 'nickname', limit: 64 |
|
|
|
|
t.string 'otp_secret_key' |
|
|
|
|
t.string 'direct_otp' |
|
|
|
|
t.datetime 'direct_otp_sent_at' |
|
|
|
|
t.timestamp 'totp_timestamp' |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|
end |
|
|
|
|