mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
Update Mysql add default value
This commit is contained in:
@@ -261,7 +261,7 @@ namespace SqlSugar
|
||||
{
|
||||
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
|
||||
|
Reference in New Issue
Block a user