How to create a Mysql hash index using Entity Framework (core) ?
Having the index in the DbContext :
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder.Entity<ContactEndpoint>().HasIndex(ce => ce.Endpoint);
}
Will create a migration with :
migrationBuilder.CreateIndex(
name: "IX_ContactEndpoints_Endpoint",
table: "ContactEndpoints",
column: "Endpoint");
But how to specify the index type ? Hash / B-Tree ?
Thanks.