Reputation: 886
Rails app that seeds fine locally won't seed on Heroku.
heroku pg:reset HEROKU_POSTGRESQL_BLACK_URL
heroku run db:migrate
heroku run rake db:migrate:status
(and all looks good)The application runs, but won't seed.
It will NOT do a successful db:seed
The error is:
dbcuqurj68jdre already exists
Couldn't drop dbcuqurj68jdre : #<PG::Error: FATAL: permission denied for database "postgres"
DETAIL: User does not have CONNECT privilege.
Can't figure that one out, since I was able to do the full
heroku pg:reset HEROKU_POSTGRESQL_BLACK_URL
Upvotes: 1
Views: 1254
Reputation: 886
Solved with an update to our seed.rb file. ... we were missing the faker gem.
Upvotes: 1