diff options
author | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:04 -0700 |
---|---|---|
committer | Jason Noble <perlwizard@gmail.com> | 2011-12-03 19:31:45 -0700 |
commit | 95213ac47721efb0d4ceec4fb919c8208389db6e (patch) | |
tree | efa0e79f81b099b08c9cd5ed8a19459b63d67470 /railties/guides/source/migrations.textile | |
parent | b6d7ce9f2376138f17e41f293add29aab334a358 (diff) | |
download | rails-95213ac47721efb0d4ceec4fb919c8208389db6e.tar.gz rails-95213ac47721efb0d4ceec4fb919c8208389db6e.tar.bz2 rails-95213ac47721efb0d4ceec4fb919c8208389db6e.zip |
Be explicit about where to add/remove stuff to the migration
Diffstat (limited to 'railties/guides/source/migrations.textile')
-rw-r--r-- | railties/guides/source/migrations.textile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/guides/source/migrations.textile b/railties/guides/source/migrations.textile index 7dd9e718f8..f458f1bff9 100644 --- a/railties/guides/source/migrations.textile +++ b/railties/guides/source/migrations.textile @@ -325,7 +325,8 @@ end </ruby> As always, what has been generated for you is just a starting point. You can add -or remove from it as you see fit. +or remove from it as you see fit by editing the +db/migrate/YYMMDDHHMMSS_add_details_to_products.rb file. NOTE: The generated migration file for destructive migrations will still be old-style using the +up+ and +down+ methods. This is because Rails needs to know |