Pomelo.EntityFrameworkCore.MySql icon indicating copy to clipboard operation
Pomelo.EntityFrameworkCore.MySql copied to clipboard

Feature request: Create the index inline in the CREATE TABLE statement

Open buzzers opened this issue 3 years ago • 0 comments

Since it is not standard SQL syntax to include an index in a CREATE TABLE statement, efcore generates separate migration statements for tables and indexes. But MySQL supports this syntax, so indexes can be inlined in creating tables to speed up migrations in specific databases. Or as a configurable option.

@lauxjpn dotnet/efcore#28992

buzzers avatar Sep 07 '22 16:09 buzzers