Matt Wilson schrieb:
> For this model:
> 
> class Alpha(SQLObject):
>     betas = RelatedJoin('Beta')
> 
> class Beta(SQLObject):
>     alphas = RelatedJoin('Alpha')
> 
> I get this SQL output:
> 
> CREATE TABLE alpha (
>     id INTEGER PRIMARY KEY
> );
> CREATE TABLE alpha_beta (
> alpha_id INT NOT NULL,
> beta_id INT NOT NULL
> );
> 
> CREATE TABLE beta (
>     id INTEGER PRIMARY KEY
> );
> 
> I think there should be foreign key constraints on alpha_beta.  Am I
> missing something?

It cretainly should, but this is a SQLObject-Issue. You are most 
probably better off asking the question on their ML.

Diez

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

Reply via email to