Advertisement
Guest User

Untitled

a guest
Feb 15th, 2016
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. default: &default
  2. adapter: postgresql
  3. encoding: unicode
  4. pool: 5
  5. username: ubuntu
  6. password: password
  7. host: <%= ENV['IP'] %>
  8.  
  9.  
  10. development:
  11. <<: *default
  12. database: app_development
  13.  
  14. test:
  15. <<: *default
  16. database: app_test
  17.  
  18. production:
  19. <<: *default
  20. database: app_production
  21.  
  22. Name | Owner | Encoding | Collate | Ctype | Access privileges
  23. -----------------+----------+-----------+---------+-------+-----------------------
  24. app_development | postgres | SQL_ASCII | C | C |
  25. app_production | ubuntu | SQL_ASCII | C | C |
  26. app_test | ubuntu | UTF8 | C | C |
  27. postgres | postgres | SQL_ASCII | C | C |
  28. score_app | postgres | SQL_ASCII | C | C |
  29. template0 | postgres | SQL_ASCII | C | C | =c/postgres +
  30. | | | | | postgres=CTc/postgres
  31. template1 | ubuntu | UTF8 | C | C |
  32.  
  33. ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_friendships_on_user_id_and_friend_id"
  34. DETAIL: Key (user_id, friend_id)=(0, 0) already exists.
  35. : INSERT INTO "friendships" ("user_id", "friend_id", "approved", "created_at", "updated_at", "id") VALUES (0, 0, 'f', '2016-02-15 16:49:26', '2016-02-15 16:49:26', 298486374)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement