mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Be explicit about where to add/remove stuff to the migration
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user