윤준석

HOTFIX: change charset and collate in database to utf8mb4 and utf8mb4_general_ci for korean

......@@ -6,8 +6,10 @@
"host": "mamuri-db",
"port": "3306",
"dialect": "mysql",
"charset": "utf8",
"collate": "utf8_general_ci"
"define": {
"charset": "utf8mb4",
"collate": "utf8mb4_general_ci"
}
},
"test": {
"username": "root",
......
......@@ -11,7 +11,7 @@ module.exports = (sequelize, DataTypes) => {
allowNull: false
}
}, {
charset: "utf8",
collate: "utf8_general_ci"
charset: "utf8mb4",
collate: "utf8mb4_general_ci"
})
}
\ No newline at end of file
......
......@@ -11,7 +11,7 @@ module.exports = (sequelize, DataTypes) => {
allowNull: false
}
}, {
charset: "utf8",
collate: "utf8_general_ci"
charset: "utf8mb4",
collate: "utf8mb4_general_ci"
})
}
\ No newline at end of file
......