add step to drop and recreate database before loading production seed data

This commit is contained in:
Graham Madden 2013-06-30 15:28:44 -04:00
parent c1a39b5a30
commit 43a846eb01

View file

@ -110,6 +110,7 @@ commands:
```
vagrant ssh
cd /vagrant
rake db:drop db:create
psql discourse_development < pg_dumps/production-image.sql
rake db:migrate
rake db:test:prepare