script/console
>> require 'db/migrate/20090418023701_add_product_messages.rb'
=> ["AddProductMessages"]
>> AddProductMessages.up
==  AddProductMessages: migrating 
=============================================
-- create_table(:product_messages)
   -> 0.7646s
   -> 0 rows
-- create_table(:products_product_messages)
   -> 0.0913s
   -> 0 rows
==  AddProductMessages: migrated (0.8575s) 
====================================

voila!

Adam wrote:
> Hi all,
> 
> I'm working on a large rails projects that has a lot of migration
> files (around 80). Through some development quirk, probably due to bad
> svn merging, my local database hasn't run migration 63. Is there a way
> to run this one file without having to roll back through all the later
> migrations, which would cause significant data loss?
> 
> Many thanks,
> Adam

-- 
Posted via http://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