> Looking at account_stuff_table.foreign_keys I have:
>
> OrderedSet([ForeignKey(u'account_ids.account_id'),
> ForeignKey('account_ids.account_id')])
i see one is unicode'd (the autoloaded), another one is not (yours). 
unicode!=str so they probably appear differently named.
see if u can workaround that.

autoloading does not convert unicoded names back into str. 
(Paul, u see?)

> I'm guessing the load duplicated the key. Although I only have two
> columns looking at list(account_stuff.c)
>
> [Column(u'credit',SLNumeric(precision=10,length=2)),
>
> Column('account_id',Integer(),ForeignKey('account_ids.account_id'),
>primary_key=True,nullable=False)]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to