Optimized code

This commit is contained in:
sunkaixuan
2025-02-17 10:45:05 +08:00
parent 7f98674a77
commit 76a507497a
2 changed files with 2 additions and 2 deletions

View File

@@ -681,7 +681,7 @@ WHERE tgrelid = '" + tableName + "'::regclass");
if (IsSqlServerModel())
{
if (x.DataType=="int8")
if (x.DataType.EqualCase("int8"))
{
x.DataType = "bigint";
x.Length = 0;

View File

@@ -2,7 +2,7 @@
<package >
<metadata>
<id>SqlSugarCore</id>
<version>5.1.4.178</version>
<version>5.1.4.179-preview01</version>
<authors>sunkaixuan</authors>
<owners>果糖大数据科技</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0.html</licenseUrl>