Skip to content

Commit

Permalink
Use utf8mb4 as default charset for table creating
Browse files Browse the repository at this point in the history
  • Loading branch information
Ghost-chu committed Aug 29, 2023
1 parent 080ff52 commit 193b173
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ TableCreateBuilder addForeignKey(@NotNull String tableColumn, @Nullable String c
@Nullable ForeignKeyRule updateRule, @Nullable ForeignKeyRule deleteRule);

default String defaultTablesSettings() {
return "ENGINE=InnoDB DEFAULT CHARSET=utf8";
return "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4";
}

}

0 comments on commit 193b173

Please sign in to comment.