Synchronization code

This commit is contained in:
sunkaixuan 2024-04-12 11:25:18 +08:00
parent b78cd59e7b
commit c316a0e7b7

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)))