Hi Gustavo,
You will have to use migrations to make changes to the database...did you migrate the changes or did you change the primary key field directly from the database? On Dec 14, 2010, at 10:00 PM, Gustavo de Sá Carvalho Honorato wrote: > Hi, > > after changing a primary key column name, the auto-increment information > (MySQL) and sequence (Oracle) are lost. What is the correct way to rename > primary keys? > > Thanks, > Gustavo > > -- > 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. -- 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.

