add step to drop and recreate database before loading production seed data
This commit is contained in:
parent
c1a39b5a30
commit
43a846eb01
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue