Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default: &default
- adapter: postgresql
- encoding: unicode
- pool: 5
- username: ubuntu
- password: password
- host: <%= ENV['IP'] %>
- development:
- <<: *default
- database: app_development
- test:
- <<: *default
- database: app_test
- production:
- <<: *default
- database: app_production
- Name | Owner | Encoding | Collate | Ctype | Access privileges
- -----------------+----------+-----------+---------+-------+-----------------------
- app_development | postgres | SQL_ASCII | C | C |
- app_production | ubuntu | SQL_ASCII | C | C |
- app_test | ubuntu | UTF8 | C | C |
- postgres | postgres | SQL_ASCII | C | C |
- score_app | postgres | SQL_ASCII | C | C |
- template0 | postgres | SQL_ASCII | C | C | =c/postgres +
- | | | | | postgres=CTc/postgres
- template1 | ubuntu | UTF8 | C | C |
- ActiveRecord::RecordNotUnique: PG::UniqueViolation: ERROR: duplicate key value violates unique constraint "index_friendships_on_user_id_and_friend_id"
- DETAIL: Key (user_id, friend_id)=(0, 0) already exists.
- : 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