mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-18 17:48:11 +08:00
人大金仓[SqlServer]
This commit is contained in:
@@ -215,6 +215,10 @@ namespace SqlSugar
|
||||
{
|
||||
get
|
||||
{
|
||||
if (IsSqlServerModel())
|
||||
{
|
||||
return "ALTER TABLE {0} ALTER {1} SET DEFAULT {2}";
|
||||
}
|
||||
return "ALTER TABLE {0} ALTER COLUMN {1} SET DEFAULT {2}";
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user