mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-19 18:22:23 +08:00
Update Mysql add default value
This commit is contained in:
@@ -261,7 +261,7 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return "ALTER TABLE {0} ALTER COLUMN {1} SET DEFAULT '{2}'";
|
return "ALTER TABLE `{0}` ALTER COLUMN `{1}` SET DEFAULT '{2}'";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected override string IsAnyIndexSql
|
protected override string IsAnyIndexSql
|
||||||
|
Reference in New Issue
Block a user