When I generate an initial migration all table configurations that contain the method ForSqlServerIsClustered continue to set the Id field as the clustered index not the new index as specified.
Steps to reproduce
Using the TestContext project provided, open a command prompt in the project folder and type:
dotnet ef migrations add InitialCreate
Note that the migration is successful, but no mention of the clustered index on ISO3166TwoLetterCode
TestContext.zip
Further technical details
λ dotnet --info
.NET Command Line Tools (1.0.0-preview2-1-003177)
When I generate an initial migration all table configurations that contain the method ForSqlServerIsClustered continue to set the Id field as the clustered index not the new index as specified.
Steps to reproduce
Using the TestContext project provided, open a command prompt in the project folder and type:
dotnet ef migrations add InitialCreate
Note that the migration is successful, but no mention of the clustered index on ISO3166TwoLetterCode TestContext.zip
Further technical details
λ dotnet --info .NET Command Line Tools (1.0.0-preview2-1-003177)
Product Information: Version: 1.0.0-preview2-1-003177 Commit SHA-1 hash: a2df9c2576
Runtime Environment: OS Name: Windows OS Version: 10.0.14393 OS Platform: Windows RID: win10-x64