diff options
Diffstat (limited to 'test/sql/constraints.py')
-rw-r--r-- | test/sql/constraints.py | 2 |
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() |