mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fixes broken links in migrations guide
This commit is contained in:
parent
32c07c4566
commit
df45413ea4
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@ end
|
|||
This migration adds a +receive_newsletter+ column to the +users+ table. We want it to default to +false+ for new users, but existing users are considered
|
||||
to have already opted in, so we use the User model to set the flag to +true+ for existing users.
|
||||
|
||||
NOTE: Some "caveats":#using-models-in-your-migrations apply to using models in your migrations.
|
||||
NOTE: Some "caveats":#using-modelsin-your-migrations apply to using models in your migrations.
|
||||
|
||||
h4. Migrations are Classes
|
||||
|
||||
|
@ -410,7 +410,7 @@ Neither of these Rake tasks do anything you could not do with +db:migrate+, they
|
|||
|
||||
Lastly, the +db:reset+ task will drop the database, recreate it and load the current schema into it.
|
||||
|
||||
NOTE: This is not the same as running all the migrations - see the section on "schema.rb":#schemadumpingandyou.
|
||||
NOTE: This is not the same as running all the migrations - see the section on "schema.rb":#schema-dumpingand-you.
|
||||
|
||||
h4. Being Specific
|
||||
|
||||
|
|
Loading…
Reference in a new issue