FIX: Split migration into two steps in developer guide (#8103)

This commit is contained in:
Krzysztof Kotlarek 2019-09-19 00:09:17 +10:00 committed by Robin Ward
parent 0b921d2356
commit a4f5f5d0bb
2 changed files with 4 additions and 2 deletions

View File

@ -54,7 +54,8 @@ If everything goes alright, let's clone Discourse and start hacking:
RAILS_ENV=test bundle exec rake db:drop
# time to create the database and run migrations
bundle exec rake db:create db:migrate
bundle exec rake db:create
bundle exec rake db:migrate
RAILS_ENV=test bundle exec rake db:create db:migrate
# run the specs (optional)

View File

@ -250,7 +250,8 @@ bundle exec rake db:drop
RAILS_ENV=test bundle exec rake db:drop
# time to create the database and run migrations
bundle exec rake db:create db:migrate
bundle exec rake db:create
bundle exec rake db:migrate
RAILS_ENV=test bundle exec rake db:create db:migrate
```