summaryrefslogtreecommitdiff
path: root/test/tables.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2005-09-15 03:06:17 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2005-09-15 03:06:17 +0000
commitdc1347b253f4f32ba3e65c9aba027502632810ce (patch)
tree6fdf5a114831ba03ed165121e267ffa8bd391ec4 /test/tables.py
parenta57d576397fa57442aade954832d35ebcb68eecd (diff)
downloadsqlalchemy-dc1347b253f4f32ba3e65c9aba027502632810ce.tar.gz
Diffstat (limited to 'test/tables.py')
-rw-r--r--test/tables.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tables.py b/test/tables.py
index 3822ab928..10b09919a 100644
--- a/test/tables.py
+++ b/test/tables.py
@@ -24,7 +24,7 @@ users = Table('users', db,
addresses = Table('email_addresses', db,
Column('address_id', INT, primary_key = True),
- Column('user_id', INT),
+ Column('user_id', INT, foreign_key = ForeignKey(users.c.user_id)),
Column('email_address', VARCHAR(20)),
)