Advertisement
Guest User

Untitled

a guest
Mar 28th, 2014
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.29 KB | None | 0 0
  1. ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_users_on_unlock_token"
  2.  
  3. create_table "users", force: true do |t|
  4. t.string "email", default: "", null: false
  5. t.string "encrypted_password", default: "", null: false
  6. t.string "screen_name"
  7. t.string "reset_password_token"
  8. t.datetime "reset_password_sent_at"
  9. t.datetime "remember_created_at"
  10. t.integer "sign_in_count", default: 0
  11. t.datetime "current_sign_in_at"
  12. t.datetime "last_sign_in_at"
  13. t.string "current_sign_in_ip"
  14. t.string "last_sign_in_ip"
  15. t.string "confirmation_token"
  16. t.datetime "confirmed_at"
  17. t.datetime "confirmation_sent_at"
  18. t.integer "failed_attempts", default: 0
  19. t.string "unlock_token"
  20. t.datetime "locked_at"
  21. end
  22.  
  23. SQL (10.5ms) UPDATE "users" SET "unlock_token" = $1, "updated_at" = $2 WHERE "users"."id" = 7 [["unlock_token", ""], ["updated_at", Mon, 24 Feb 2014 02:59:58 UTC +00:00]]
  24. PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_users_on_unlock_token"
  25. DETAIL: Key (unlock_token)=() already exists.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement