1
mirror of https://github.com/CarmJos/EasySQL.git synced 2026-06-04 15:28:20 +08:00

Use utf8mb4 as default charset for table creating (#89)

This commit is contained in:
Ghost_chu
2023-08-30 00:39:45 +08:00
committed by GitHub
parent 080ff52329
commit 67a94d8a1f
@@ -250,7 +250,7 @@ public interface TableCreateBuilder extends SQLBuilder {
@Nullable ForeignKeyRule updateRule, @Nullable ForeignKeyRule deleteRule); @Nullable ForeignKeyRule updateRule, @Nullable ForeignKeyRule deleteRule);
default String defaultTablesSettings() { default String defaultTablesSettings() {
return "ENGINE=InnoDB DEFAULT CHARSET=utf8"; return "ENGINE=InnoDB DEFAULT CHARSET=utf8mb4";
} }
} }