domingo, 8 de dezembro de 2013

Dropping/Resetting Postgres database on Heroku

heroku pg:reset DATABASE_URL 

Type exactly as is the above command in your shell, you will be asked for confirm your app database name, type it and voilà.

Now, is good you remigrate your new database, right?


heroku run rake db:migrate db:seed

Nenhum comentário:

Postar um comentário

~le comentário