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