add login
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user