mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fixes broken links in migrations guide
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user