Update 人大金仓

This commit is contained in:
sunkaixuan
2025-09-25 10:12:09 +08:00
parent 2e875456a1
commit c77c6acc90

View File

@@ -615,6 +615,17 @@ WHERE tgrelid = '" + tableName + "'::regclass");
dataSize = "int8";
}
string length = dataType.Substring(dataType.Length - 1);
if (length == "t")
{
if (dataType?.ToLower() == "int")
{
length = "4";
}
if (dataType?.ToLower() == "bigint")
{
length = "8";
}
}
string identityDataType = "serial" + length;
if (IsSqlServerModel()&&dataType=="int")
{