> Did you originally create the tables through SQLAlchemy or are you
> reflecting an existing schema?  In either case I'd need to see the
> output of SHOW CREATE TABLES for the problem table to make a diagnosis.

I create the tables using SQLAlchemy.  I'll send you the output in a
day, I'm away from the machine where this code is right now.

> You can workaround this by manually adding a FK after autoloading:
>
>    stats_table.append_constraint(
>      sa.ForeignKeyConstraint(['rid'], ['runs.rid']))

I'll try that. Thanks for the help.


--~--~---------~--~----~------------~-------~--~----~
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