mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
A little minor rephrasing for improved readability.
This commit is contained in:
parent
35129f5b99
commit
738e906a02
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ $ rake db:migrate
|
|||
$ rake db:test:load
|
||||
</shell>
|
||||
|
||||
Above +rake db:migrate+ runs any pending migrations on the _development_ environment and updates +db/schema.rb+. +rake db:test:load+ recreates the test database from the current +db/schema.rb+. On subsequent attempts, it is a good idea to first run +db:test:prepare+, as it first checks for pending migrations and warns you appropriately.
|
||||
The +rake db:migrate+ above runs any pending migrations on the _development_ environment and updates +db/schema.rb+. The +rake db:test:load+ recreates the test database from the current +db/schema.rb+. On subsequent attempts, it is a good idea to first run +db:test:prepare+, as it first checks for pending migrations and warns you appropriately.
|
||||
|
||||
NOTE: +db:test:prepare+ will fail with an error if +db/schema.rb+ doesn't exist.
|
||||
|
||||
|
|
Loading…
Reference in a new issue