Synchronization code

This commit is contained in:
sunkaixuan
2023-08-16 11:41:04 +08:00
parent 1be8b1401e
commit 8b52b341c6

View File

@@ -430,11 +430,11 @@ namespace SqlSugar
{
item.Length = 1;
}
if (dataType == "uuid")
{
item.Length = 50;
dataType = "varchar";
}
//if (dataType == "uuid")
//{
// item.Length = 50;
// dataType = "varchar";
//}
string dataSize = item.Length > 0 ? string.Format("({0})", item.Length) : null;
string nullType = item.IsNullable ? this.CreateTableNull : CreateTableNotNull;
string primaryKey = null;