|
|
@ -11,24 +11,27 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
# It's strongly recommended to check this file into your version control system. |
|
|
|
# It's strongly recommended to check this file into your version control system. |
|
|
|
|
|
|
|
|
|
|
|
ActiveRecord::Schema.define(:version => 20140403184646) do |
|
|
|
ActiveRecord::Schema.define(:version => 20140407172619) do |
|
|
|
|
|
|
|
|
|
|
|
create_table "users", :force => true do |t| |
|
|
|
create_table "users", :force => true do |t| |
|
|
|
t.string "email", :default => "", :null => false |
|
|
|
t.string "email", :default => "", :null => false |
|
|
|
t.string "encrypted_password", :default => "", :null => false |
|
|
|
t.string "encrypted_password", :default => "", :null => false |
|
|
|
t.string "reset_password_token" |
|
|
|
t.string "reset_password_token" |
|
|
|
t.datetime "reset_password_sent_at" |
|
|
|
t.datetime "reset_password_sent_at" |
|
|
|
t.datetime "remember_created_at" |
|
|
|
t.datetime "remember_created_at" |
|
|
|
t.integer "sign_in_count", :default => 0, :null => false |
|
|
|
t.integer "sign_in_count", :default => 0, :null => false |
|
|
|
t.datetime "current_sign_in_at" |
|
|
|
t.datetime "current_sign_in_at" |
|
|
|
t.datetime "last_sign_in_at" |
|
|
|
t.datetime "last_sign_in_at" |
|
|
|
t.string "current_sign_in_ip" |
|
|
|
t.string "current_sign_in_ip" |
|
|
|
t.string "last_sign_in_ip" |
|
|
|
t.string "last_sign_in_ip" |
|
|
|
t.datetime "created_at", :null => false |
|
|
|
t.datetime "created_at", :null => false |
|
|
|
t.datetime "updated_at", :null => false |
|
|
|
t.datetime "updated_at", :null => false |
|
|
|
|
|
|
|
t.string "otp_secret_key" |
|
|
|
|
|
|
|
t.integer "second_factor_attempts_count", :default => 0 |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
add_index "users", ["email"], :name => "index_users_on_email", :unique => true |
|
|
|
add_index "users", ["email"], :name => "index_users_on_email", :unique => true |
|
|
|
|
|
|
|
add_index "users", ["otp_secret_key"], :name => "index_users_on_otp_secret_key", :unique => true |
|
|
|
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true |
|
|
|
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true |
|
|
|
|
|
|
|
|
|
|
|
end |
|
|
|
end |
|
|
|