Skip to content

Commit

Permalink
finx bug of create table
Browse files Browse the repository at this point in the history
  • Loading branch information
FlyingYu-Z committed Dec 25, 2020
1 parent 2308af5 commit b30a3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/cn/beingyi/mysql/core/TableCreator.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ private void createTable() throws Exception {
if (keyColumn.isKey()) {
sql.append(" PRIMARY KEY (`" + keyColumn.name() + "`)").append("\n");
}
sql.append("),\n");
sql.append(")\n");
sql.append("ENGINE=InnoDB DEFAULT CHARSET="+readyCore.getReady().getCharacterSet()+" ROW_FORMAT=DYNAMIC;");

System.out.println(sql.toString());
Expand Down

0 comments on commit b30a3c6

Please sign in to comment.