mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-05-20 15:09:33 +08:00
Update table structure comparison
This commit is contained in:
parent
f4a7c2939f
commit
6bd26dc468
@ -85,7 +85,9 @@ namespace SqlSugar
|
||||
z.Length != y.Length ||
|
||||
z.ColumnDescription != y.ColumnDescription ||
|
||||
z.DataType != y.DataType ||
|
||||
z.DecimalDigits != y.DecimalDigits
|
||||
z.DecimalDigits != y.DecimalDigits||
|
||||
z.IsPrimarykey != y.IsPrimarykey ||
|
||||
z.IsIdentity!=y.IsIdentity
|
||||
))).Select(it => new DiffColumsInfo()
|
||||
{
|
||||
Message= GetUpdateColumnString(it, tableInfo.OldColumnInfos.FirstOrDefault(y => y.DbColumnName.EqualCase(it.DbColumnName)))
|
||||
|
Loading…
Reference in New Issue
Block a user