Merge pull request #1117 from maddenwg/improve-docs
add step to drop and recreate database before changing seed Edit
This commit is contained in:
commit
d051e35000
|
@ -110,6 +110,7 @@ commands:
|
||||||
```
|
```
|
||||||
vagrant ssh
|
vagrant ssh
|
||||||
cd /vagrant
|
cd /vagrant
|
||||||
|
rake db:drop db:create
|
||||||
psql discourse_development < pg_dumps/production-image.sql
|
psql discourse_development < pg_dumps/production-image.sql
|
||||||
rake db:migrate
|
rake db:migrate
|
||||||
rake db:test:prepare
|
rake db:test:prepare
|
||||||
|
|
Loading…
Reference in New Issue