Skip to content

A platform for community discussion. Free, open, simple.

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

Krzysztof Kotlareka4f5f5d0bb90
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
```