On MSSQL if a field is part of the primary_key then it should not allow NULLS.

This commit is contained in:
Michael Trier
2008-12-28 07:40:56 +00:00
parent defba2fc02
commit cae83f6d4f
4 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ class ConstraintTest(TestBase, AssertsExecutionResults):
ForeignKeyConstraint(['emp_id', 'emp_soc'], ['employees.id', 'employees.soc'])
)
metadata.create_all()
def test_double_fk_usage_raises(self):
f = ForeignKey('b.id')