Reset database & re-run migrations

If you need to completely reset the database and re-build it by running all migrations, use this:

rake db:drop db:create db:migrate

If this is ZipMessage, you'll also need to run the following commands to repopulate initial data.

zmplans
zmreset
zmintegrationpartners
zmbgimages

Last updated