mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 15:48:43 -05:00
add step to drop and recreate database before loading production seed data
This commit is contained in:
parent
c1a39b5a30
commit
43a846eb01
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue