With regards to Rails 1.1, this may be a new or old error, I wasn't able to
find it in Trac.

Patch: http://dev.rubyonrails.org/ticket/3975

Basically, when I try to rename a table, the sequence names are not updated.

connection.rename_table('banannas', 'banannas_pies')


Table Name: bananna_pies

column | default value 
----------------------------------
id     | nextval('public.banannas_id_seq'::text)

-Nb

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 Nathaniel S. H. Brown                           http://nshb.net 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

_______________________________________________
Rails-core mailing list
Rails-core@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-core

Reply via email to