1
0
Fork 0
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:
mhutchin 2011-03-27 02:34:02 -07:00
parent 35129f5b99
commit 738e906a02

View file

@ -227,7 +227,7 @@ $ rake db:migrate
$ rake db:test:load $ rake db:test:load
</shell> </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. NOTE: +db:test:prepare+ will fail with an error if +db/schema.rb+ doesn't exist.