Update 人大金仓

This commit is contained in:
sunkaixuan 2024-09-26 16:33:27 +08:00
parent 50afa4cc4f
commit 2e1978a99f

View File

@ -497,13 +497,13 @@ WHERE tgrelid = '" + tableName + "'::regclass");
{
ConvertCreateColumnInfo(item);
if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase) && item.Length == 0)
{
if (item.DataType?.ToLower() != "uuid")
{
item.Length = 10;
}
}
//if (item.DbColumnName.Equals("GUID", StringComparison.CurrentCultureIgnoreCase) && item.Length == 0)
//{
// if (item.DataType?.ToLower() != "uuid")
// {
// item.Length = 10;
// }
//}
}
}
string sql = GetCreateTableSql(tableName, columns);