From a4f5f5d0bb900539d0ea6a045b25d2050b9fe122 Mon Sep 17 00:00:00 2001 From: Krzysztof Kotlarek Date: Thu, 19 Sep 2019 00:09:17 +1000 Subject: [PATCH] FIX: Split migration into two steps in developer guide (#8103) --- docs/DEVELOPER-ADVANCED.md | 3 ++- docs/DEVELOPMENT-OSX-NATIVE.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/DEVELOPER-ADVANCED.md b/docs/DEVELOPER-ADVANCED.md index b8ebb77be11..d6f39aabeed 100644 --- a/docs/DEVELOPER-ADVANCED.md +++ b/docs/DEVELOPER-ADVANCED.md @@ -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) diff --git a/docs/DEVELOPMENT-OSX-NATIVE.md b/docs/DEVELOPMENT-OSX-NATIVE.md index ea0a81e2dca..93721f51f39 100644 --- a/docs/DEVELOPMENT-OSX-NATIVE.md +++ b/docs/DEVELOPMENT-OSX-NATIVE.md @@ -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 ```