diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-06-25 12:30:31 -0400 |
commit | 7e2e42379cb40a500eb8a236c05788eb3e84d141 (patch) | |
tree | 784dfe04f81b034889b96b5c251923da7e6f3a1e /db/schema.rb | |
parent | 275218aeaf24d4f9d58589cf68ec6647f0a65050 (diff) | |
download | thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.gz thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.tar.bz2 thoughts-7e2e42379cb40a500eb8a236c05788eb3e84d141.zip |
Added logging in and logging out
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 21 |
1 files changed, 20 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb index 6eca6ad..b690393 100644 --- a/db/schema.rb +++ b/db/schema.rb | |||
@@ -10,7 +10,7 @@ | |||
10 | # | 10 | # |
11 | # It's strongly recommended that you check this file into your version control system. | 11 | # It's strongly recommended that you check this file into your version control system. |
12 | 12 | ||
13 | ActiveRecord::Schema.define(version: 20170625004938) do | 13 | ActiveRecord::Schema.define(version: 20170625151955) do |
14 | 14 | ||
15 | create_table "entries", force: :cascade do |t| | 15 | create_table "entries", force: :cascade do |t| |
16 | t.string "title" | 16 | t.string "title" |
@@ -31,4 +31,23 @@ ActiveRecord::Schema.define(version: 20170625004938) do | |||
31 | t.index ["recordable_type", "recordable_id"], name: "index_records_on_recordable_type_and_recordable_id" | 31 | t.index ["recordable_type", "recordable_id"], name: "index_records_on_recordable_type_and_recordable_id" |
32 | end | 32 | end |
33 | 33 | ||
34 | create_table "users", force: :cascade do |t| | ||
35 | t.string "login", default: "", null: false | ||
36 | t.string "email", default: "", null: false | ||
37 | t.string "encrypted_password", default: "", null: false | ||
38 | t.string "reset_password_token" | ||
39 | t.datetime "reset_password_sent_at" | ||
40 | t.datetime "remember_created_at" | ||
41 | t.integer "sign_in_count", default: 0, null: false | ||
42 | t.datetime "current_sign_in_at" | ||
43 | t.datetime "last_sign_in_at" | ||
44 | t.string "current_sign_in_ip" | ||
45 | t.string "last_sign_in_ip" | ||
46 | t.datetime "created_at", null: false | ||
47 | t.datetime "updated_at", null: false | ||
48 | t.index ["email"], name: "index_users_on_email", unique: true | ||
49 | t.index ["login"], name: "index_users_on_login", unique: true | ||
50 | t.index ["reset_password_token"], name: "index_users_on_reset_password_token", unique: true | ||
51 | end | ||
52 | |||
34 | end | 53 | end |