add login

This commit is contained in:
bee0005
2016-09-23 12:53:19 +00:00
parent eb8e6a64b4
commit 1b7b26ee06
11 changed files with 36 additions and 12 deletions

View File

@@ -4,6 +4,7 @@ class DeviseCreateUsers < ActiveRecord::Migration
## Database authenticatable
t.string :email, null: false, default: ""
t.string :encrypted_password, null: false, default: ""
t.string :username
## Recoverable
t.string :reset_password_token

View File

@@ -25,6 +25,7 @@ ActiveRecord::Schema.define(version: 20160920111650) do
create_table "users", force: :cascade do |t|
t.string "email", default: "", null: false
t.string "encrypted_password", default: "", null: false
t.string "username"
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
t.datetime "remember_created_at"