On May 15, 2010, at 2:53 PM, Lance Edgar wrote: > I've recently come across a small issue, maybe not even an important one but > I wonder why it's happened. I typically pass None as my Column type whenever > I use a ForeignKey, as per the docs at > http://www.sqlalchemy.org/docs/reference/sqlalchemy/schema.html#sqlalchemy.schema.Column > > """ > If this column also contains a ForeignKey, the type argument may be left as > None in which case the type assigned will be that of the referenced column. > """ > > Now suddenly this breaks some of my test code which creates tables > individually. Consider this example:
yes I will probably remove this from the documentation as I don't really have time to maintain this awkward feature. Please specify the type explicitly. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.