How to empty DB in 
heroku<http://stackoverflow.com/questions/4820549/how-to-empty-db-in-heroku>
 
I have a Postgres database on Heroku. It is one of the free beta ones. 
Locally, when testing, I often run rake db:drop && rake db:create && rake 
db:migrate as a way to reset the database.
However, when I try to run this on Heroku, I get the error:\[code\]Couldn't 
drop mydatabaseid : 
#<PG::Error: FATAL: permission denied for database "postgres" DETAIL: User 
does not have CONNECT privilege.
\[/code\]Uh, ok, so how am I supposed to completely reset my database, 
migrations and everything?


-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/GJv6jRxQna8J.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to