On Apr 1, 2008, at 7:25 PM, Bobby Impollonia wrote:

>
> Awesome, putting use_alter on one of the foreign keys fixed the  
> problem.
>
> Would it be hard to just assume that when there is a circular
> dependency that one of the keys should be use_alter'ed? Is there
> actually a case where that be the wrong thing to do (or any reason I
> would care which of the keys is the one to have use_alter)?

it can be done but we'd have to modify the TableIterator to detect  
cycles and then place this constraint.  Im a little uncomfortable with  
that since using ALTER requires that you name the constraint  
explicitly, and we never generate names.


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