I don't believe hobo's migration generator does indexes. Hobo  
migrations just generate a regular rails migration file. You should be  
able to go in and add the normal index migration methods into the  
generate hobo migrations before they are run or you can generate your  
own migration like you normally would for a regular rails app and put  
the indexes in there.

Craig

On Mar 1, 2009, at 3:31 PM, Paul Howson wrote:

>
> Does the Hobo migration generator understand adding indexes to fields
> in a database table? Is there a way to declare that a field should be
> indexed and will the Hobo migration generator create a migration to
> add the index?
>
> If this is not the case, then presumably one would need to do this
> "manually"? And if using Hobo to regenerate the database definitions
> from scratch, one would need to remember to add the indexes again
> manually?
>
> Paul Howson
> >


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to