mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-08-02 04:43:35 +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("`").append(column.getName()).append("`").append(" ");
|
||||||
script.append(buildDataType(column, type)).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();
|
return script.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user