Update mysql createindex bug

This commit is contained in:
sunkaixuna 2021-08-12 14:59:04 +08:00
parent 8ac57299b0
commit a7a73fd94b

View File

@ -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}`)";
}
}