you probably don't want to *create* the posts table again, you likely
want to change the existing schema.  just make a new migration like
so:

"ruby script/generate migration 'do_something_else_to_posts' "

and then use the add_column, remove_column, rename_column, etc...
methods for migrations.



On Nov 11, 3:22 am, "Vapor .." <[EMAIL PROTECTED]>
wrote:
> I have a migration file like [datetime]_create_posts.rb .
>
> Now I want [anotherdatetime]_create_posts.rb with some changes different
> from older migration that I can run with ... rake db:migrate
> VERSION=[anotherdatetime].
>
> How can I create [anotherdatetime]_create_posts.rb, which is basically a
> new version?
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to