Update table diff

This commit is contained in:
sunkaixuan
2024-04-12 10:03:20 +08:00
parent d8dc0ef3ed
commit b78cd59e7b

View File

@@ -87,7 +87,8 @@ namespace SqlSugar
z.DataType != y.DataType ||
z.DecimalDigits != y.DecimalDigits||
z.IsPrimarykey != y.IsPrimarykey ||
z.IsIdentity!=y.IsIdentity
z.IsIdentity!=y.IsIdentity||
z.IsNullable!=y.IsNullable
))).Select(it => new DiffColumsInfo()
{
Message= GetUpdateColumnString(it, tableInfo.OldColumnInfos.FirstOrDefault(y => y.DbColumnName.EqualCase(it.DbColumnName)))