Closed davisnw closed 4 years ago
Hi @davisnw,
Yep, the EfSchemaCompare tool has limitations, as found in the EfSchemaCompare ->Limitations page. I could have left the DefaultValueSql test out, but then you wouldn't know that EfSchemaCompare didn't check everything.
The EfSchemaCompare ->Limitations page has this link to an example of how to ignore the DefaultValueSql test.
Tested using EfCore.TestSupport nuget package 3.1.0
Consider a table
Consider an entity
Consider a context
Then the test
Will fail with:
If the context instead does:
The failure is still
So there appears to be no way to configure a default value for
boolean
/bit not null
that EfCore.TestSupport will consider to be comparable.