Unnecessary IS NOT NULL
filter on unique indexes for TPT tables on SQL Server
#32689
Milestone
IS NOT NULL
filter on unique indexes for TPT tables on SQL Server
#32689
It appears there is an unnecessary
[ColumnName] IS NOT NULL
filter added to unique indexes on TPT tables when using SQL Server.Minimum reproducible example:
The resulting migration contains:
Since the
Name
column is already not null, I would expect the index in the migration to look like:Include provider and version information
EF Core version: 8.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET 8.0
Operating system: macOS 13.6.3
IDE: N/A
The text was updated successfully, but these errors were encountered: