On Thu, Aug 27, 2009 at 7:54 AM, Keenan Brock<[email protected]> wrote: > Hi All, > How do I wipe out a database and start from scratch on heroku? > Locally I run: > rake db:migrate:reset > (essentially db:drop db:create db:migrate) > Unfortunately, rake db:migrate VERSION=0 doesn't quite do what I want > > a) Is there a better command? > -or- > b) Is it possible for someone at Heroku to implement a db:drop that clears > the database? > Thanks for any insight, > Keenan
Running "heroku db:reset" will reset the app's database to a blank slate. You'll need to run migrations or use "heroku db:push" to reinitialize afterward. Thanks, Ryan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~----------~----~----~----~------~----~------~--~---
