Mysql: set default charset to utf8mb4 on pools

This commit is contained in:
Alice Gaudon 2020-08-30 11:25:26 +02:00
parent 6eb462ae28
commit 649fe41be3
2 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "wms-core",
"version": "0.21.0",
"version": "0.21.1",
"description": "Node web application framework and toolbelt.",
"repository": "https://gitlab.com/ArisuOngaku/wms-core",
"author": "Alice Gaudon <alice@gaudon.pro>",

View File

@ -80,6 +80,7 @@ export default class MysqlConnectionManager {
user: config.get('mysql.user'),
password: config.get('mysql.password'),
database: config.get('mysql.database'),
charset: 'utf8mb4',
});
}