mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-09-20 10:38:09 +08:00
Update table diff
This commit is contained in:
@@ -87,7 +87,8 @@ namespace SqlSugar
|
|||||||
z.DataType != y.DataType ||
|
z.DataType != y.DataType ||
|
||||||
z.DecimalDigits != y.DecimalDigits||
|
z.DecimalDigits != y.DecimalDigits||
|
||||||
z.IsPrimarykey != y.IsPrimarykey ||
|
z.IsPrimarykey != y.IsPrimarykey ||
|
||||||
z.IsIdentity!=y.IsIdentity
|
z.IsIdentity!=y.IsIdentity||
|
||||||
|
z.IsNullable!=y.IsNullable
|
||||||
))).Select(it => new DiffColumsInfo()
|
))).Select(it => new DiffColumsInfo()
|
||||||
{
|
{
|
||||||
Message= GetUpdateColumnString(it, tableInfo.OldColumnInfos.FirstOrDefault(y => y.DbColumnName.EqualCase(it.DbColumnName)))
|
Message= GetUpdateColumnString(it, tableInfo.OldColumnInfos.FirstOrDefault(y => y.DbColumnName.EqualCase(it.DbColumnName)))
|
||||||
|
Reference in New Issue
Block a user