If you change the declaration in the model and run script/generate hobo_migration it will detect the change and generate a correct migration.
--Matt Jones On Jul 5, 2009, at 6:11 PM, rickcr wrote: > > I'm obviously new to rails and using hobofields. I tried to search the > archives for this, but didn't have any luck. > > Really simple question, I suppose... > > In my 'fields do' on a model I need to change the datatype of a field > from integer to time. How do I rerun my hobo migrations so a new > migration is created? > > What's the best practice on how to handle this? (I supposed I could > delete all the migration scripts and then rerun things but that > doesn't seem like the best practice?) > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en -~----------~----~----~----~------~----~------~--~---
