From 06335d3cee1f98859bc71d7042f84fc304a26b5b Mon Sep 17 00:00:00 2001 From: sunkaixuna <610262374@qq.com> Date: Thu, 12 Aug 2021 15:05:20 +0800 Subject: [PATCH] Update mysql index --- .../Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs b/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs index 343b0334d..7bc4688e2 100644 --- a/Src/Asp.Net/SqlSugar/Realization/MySql/DbMaintenance/MySqlDbMaintenance.cs +++ b/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})"; } }