Hi,
I have a table of items, where each item can be owned by one
person, and held by someone else. I want the owner to be
compulsory (not nullable), and the holder to be optional (nullable).
To model this I have two tables, one for contacts and one for items.
The item table has two fields
-Original Message-
From: sqlalchemy@googlegroups.com
[mailto:sqlalch...@googlegroups.com] On Behalf Of exhuma.twn
Sent: 22 June 2010 14:27
To: sqlalchemy
Subject: [sqlalchemy] Referential integrity actions are not
doing what I want
Hi,
I have a table of items, where each
On Jun 22, 2010, at 9:27 AM, exhuma.twn wrote:
Hi,
I have a table of items, where each item can be owned by one
person, and held by someone else. I want the owner to be
compulsory (not nullable), and the holder to be optional (nullable).
To model this I have two tables, one for contacts