Update pgsql

This commit is contained in:
sunkaixuan 2024-04-08 11:22:20 +08:00
parent dca187e023
commit 62139fee1a

View File

@ -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;
}
}
}
}