Steps to reproduce the issue in: dotnet/efcore#30231
- Clone this repo
- Open
MyProject.sln
in Visual Studio - Open the Nuget Package Manager Console (PMC)
- At the PMC type the following command:
Add-Migration -StartupProject "MyProject.Deploy" -Project "MyProject.Data" "TestMigration"
- Open the
yyyyMMddHHmmss_TestMigration.cs
file, which the migration has created. - Notice that the existing index name
IX_ConnectorEntry_Id
will be renamed toIX_trigger_ConnectorEntry_Id