Specify only one index with fluent api
问题 Is there a way to only specify one index when overriding the OnModelCreating function in our context folder? I added: builder.Entity<ApplicationUser>() .HasIndex(e => e.Id); Which does add that as an index, but it looks like a few other properties have been made an index as well. Is there a way to make it the only index? The reason why I want to specify one index is: my migration file theres a bunch of dropForeignKeys, RenameTable, CreateIndex for things that i haven't touched. It happens to