Browse Source

Update mysql index

pull/8/head
sunkaixuna 3 years ago
parent
commit
06335d3cee
  1. 2
      Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs

2
Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs

@ -252,7 +252,7 @@ namespace SqlSugar
{
get
{
return "CREATE {3} INDEX Index_{0}_{2} ON `{0}` (`{1}`)";
return "CREATE {3} INDEX `Index_{0}_{2}` ON `{0}` ({1})";
}
}

Loading…
Cancel
Save