mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-23 22:11:36 +08:00
Update pgsql
This commit is contained in:
parent
dca187e023
commit
62139fee1a
@ -420,7 +420,10 @@ WHERE tgrelid = '"+tableName+"'::regclass");
|
||||
ConvertCreateColumnInfo(item);
|
||||
if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase) && item.Length == 0)
|
||||
{
|
||||
item.Length = 10;
|
||||
if (item.DataType?.ToLower() != "uuid")
|
||||
{
|
||||
item.Length = 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user