mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 15:52:45 +08:00
FIX: Split migration into two steps in developer guide (#8103)
This commit is contained in:
parent
0b921d2356
commit
a4f5f5d0bb
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user