Update Mysql Create database bug

This commit is contained in:
sunkaixuna
2021-08-12 13:39:40 +08:00
parent 48e3935ac4
commit 8ac57299b0

View File

@@ -63,7 +63,7 @@ namespace SqlSugar
{ {
get get
{ {
return "CREATE DATABASE {0} CHARACTER SET utf8 COLLATE utf8_general_ci "; return "CREATE DATABASE `{0}` CHARACTER SET utf8 COLLATE utf8_general_ci ";
} }
} }
protected override string AddPrimaryKeySql protected override string AddPrimaryKeySql