SQL Server migration SQL is incorrect for INDEX creation where OPTIONS are present along with a "legacy filter" #24640
Labels
area-migrations
area-sqlserver
closed-fixed
The issue has been fixed and is/will be included in the release indicated by the issue milestone.
customer-reported
type-bug
Milestone
During migration SQL generation for SQL Server the following test (which can be added to SqlServerMigrationSqlGeneratorTest.cs) will unexpectedly fail:
The actual generated SQL is as follows:
This seems to be invalid TSQL, with the WITH and WHERE clauses out of order.
This was found in EF Core 3.1, but the migration generating code seems to still have the issue in "main".
The text was updated successfully, but these errors were encountered: