summaryrefslogtreecommitdiff
path: root/test/sql/constraints.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2007-02-17 02:31:56 +0000
committerMike Bayer <mike_mp@zzzcomputing.com>2007-02-17 02:31:56 +0000
commit225e51a7967d8da8fdcb81a742b75007d23bca08 (patch)
tree1b22f43c74e75c7cf55f6dcd6c4c7b8d1eb1a522 /test/sql/constraints.py
parentffd0e0e1817762bad71cd2a8dc38e2f702880632 (diff)
downloadsqlalchemy-225e51a7967d8da8fdcb81a742b75007d23bca08.tar.gz
- added a Sequence to the unicode test tables to help Oracle
- fixed named PrimaryKeyConstraint generation on oracle [ticket:466] courtesy andrija at gmail
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r--test/sql/constraints.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/sql/constraints.py b/test/sql/constraints.py
index 045d44968..886baef0c 100644
--- a/test/sql/constraints.py
+++ b/test/sql/constraints.py
@@ -23,7 +23,7 @@ class ConstraintTest(testbase.AssertMixin):
Column('stuff', String(30)),
Column('emp_id', Integer),
Column('emp_soc', String(40)),
- PrimaryKeyConstraint('id'),
+ PrimaryKeyConstraint('id', name='elements_primkey'),
ForeignKeyConstraint(['emp_id', 'emp_soc'], ['employees.id', 'employees.soc'])
)
metadata.create_all()