diff --git a/package.json b/package.json index 32a7453..195403f 100644 --- a/package.json +++ b/package.json @@ -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 ", diff --git a/src/db/MysqlConnectionManager.ts b/src/db/MysqlConnectionManager.ts index ab8674f..014cbd4 100644 --- a/src/db/MysqlConnectionManager.ts +++ b/src/db/MysqlConnectionManager.ts @@ -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', }); }