Brazos Donaho wrote:


The column FooID in table foobar is set to AUTOINCREMENT when it is not
needed.
Any advise on how to stop this would be great.


The mysql code was coded to always add the AUTOINCREMENT if the first primary key was an integer. I've just committed a patch to not do this if it is also a foreign key. If you use the latest svn checkout this issue should be fixed.


Robert


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to