If you setup foreign key constraints, then the indexes will automatically be created on this [parent]_id columns. (And InnoDB doesn't let you remove them even if you wanted to.)
On Aug 6, 2:35 pm, Alpha Blue <[email protected]> wrote: > Yeah, > > I'm using innodb so I thought that the indexes were automatically setup > when specifying _id on any column. I was mistaken. > > -- > 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 -~----------~----~----~----~------~----~------~--~---

