Kim Miller
Kim Miller

Reputation: 886

Heroku run rake db:seed Couldn't drop database error

Rails app that seeds fine locally won't seed on Heroku.

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

Answers (1)

Kim Miller
Kim Miller

Reputation: 886

Solved with an update to our seed.rb file. ... we were missing the faker gem.

Upvotes: 1

Related Questions