FIX: set charset and collate of database in sequelize initialization
Showing
1 changed file
with
3 additions
and
1 deletions
| ... | @@ -5,7 +5,9 @@ | ... | @@ -5,7 +5,9 @@ |
| 5 | "database": "mamuri_db", | 5 | "database": "mamuri_db", |
| 6 | "host": "mamuri-db", | 6 | "host": "mamuri-db", |
| 7 | "port": "3306", | 7 | "port": "3306", |
| 8 | - "dialect": "mysql" | 8 | + "dialect": "mysql", |
| 9 | + "charset": "utf8", | ||
| 10 | + "collate": "utf8_general_ci" | ||
| 9 | }, | 11 | }, |
| 10 | "test": { | 12 | "test": { |
| 11 | "username": "root", | 13 | "username": "root", | ... | ... |
-
Please register or login to post a comment