mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2025-07-15 23:13:42 +08:00
Update mysql bug
This commit is contained in:
parent
e8116e5e97
commit
0afd9a28d4
@ -413,7 +413,7 @@ namespace SqlSugar
|
|||||||
string addItem = string.Format(this.CreateTableColumn, this.SqlBuilder.GetTranslationColumnName(columnName), dataType, dataSize, nullType, primaryKey, identity);
|
string addItem = string.Format(this.CreateTableColumn, this.SqlBuilder.GetTranslationColumnName(columnName), dataType, dataSize, nullType, primaryKey, identity);
|
||||||
if (!string.IsNullOrEmpty(item.ColumnDescription))
|
if (!string.IsNullOrEmpty(item.ColumnDescription))
|
||||||
{
|
{
|
||||||
addItem += "COMMENT '"+item.ColumnDescription.ToSqlFilter()+"' ";
|
addItem += " COMMENT '"+item.ColumnDescription.ToSqlFilter()+"' ";
|
||||||
}
|
}
|
||||||
columnArray.Add(addItem);
|
columnArray.Add(addItem);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user