summaryrefslogtreecommitdiff
path: root/test/tables.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tables.py')
-rw-r--r--test/tables.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tables.py b/test/tables.py
index 10b09919a..c0cdc4397 100644
--- a/test/tables.py
+++ b/test/tables.py
@@ -47,8 +47,8 @@ keywords = Table('keywords', db,
)
itemkeywords = Table('itemkeywords', db,
- Column('item_id', INT),
- Column('keyword_id', INT)
+ Column('item_id', INT, foreign_key = ForeignKey(orderitems.c.item_id)),
+ Column('keyword_id', INT, foreign_key = ForeignKey(keywords.c.keyword_id))
)
users.build()