mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-11-09 02:44:58 +08:00
Create mysql database set utf-8 default value
This commit is contained in:
@@ -61,7 +61,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "CREATE DATABASE {0}";
|
return "CREATE DATABASE {0} CHARACTER SET utf8 COLLATE utf8_general_ci ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected override string AddPrimaryKeySql
|
protected override string AddPrimaryKeySql
|
||||||
|
|||||||
Reference in New Issue
Block a user