mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-06-02 13:59:02 -04:00
On MSSQL if a field is part of the primary_key then it should not allow NULLS.
This commit is contained in:
@@ -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')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user