Update pgsql

This commit is contained in:
sunkaixuan 2024-04-08 11:21:33 +08:00
parent dfa910d2da
commit dca187e023

View File

@ -485,7 +485,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;
}
}
}
}