mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-31 03:32:43 +08:00
Issue #1110 that caused comments to be lost after modifying the order.
This commit is contained in:
@ -327,6 +327,9 @@ public enum MysqlColumnTypeEnum implements ColumnBuilder {
|
||||
|
||||
script.append("`").append(column.getName()).append("`").append(" ");
|
||||
script.append(buildDataType(column, type)).append(" ");
|
||||
if (StringUtils.isNoneBlank(column.getComment())) {
|
||||
script.append("COMMENT").append(" ").append("'").append(column.getComment()).append("'").append(" ");
|
||||
}
|
||||
return script.toString();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user