mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-08-24 07:22:57 +08:00
Update pgsql
This commit is contained in:
parent
dca187e023
commit
62139fee1a
@ -420,7 +420,10 @@ WHERE tgrelid = '"+tableName+"'::regclass");
|
|||||||
ConvertCreateColumnInfo(item);
|
ConvertCreateColumnInfo(item);
|
||||||
if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase) && item.Length == 0)
|
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