Mysql: set default charset to utf8mb4 on pools
This commit is contained in:
parent
6eb462ae28
commit
649fe41be3
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wms-core",
|
"name": "wms-core",
|
||||||
"version": "0.21.0",
|
"version": "0.21.1",
|
||||||
"description": "Node web application framework and toolbelt.",
|
"description": "Node web application framework and toolbelt.",
|
||||||
"repository": "https://gitlab.com/ArisuOngaku/wms-core",
|
"repository": "https://gitlab.com/ArisuOngaku/wms-core",
|
||||||
"author": "Alice Gaudon <alice@gaudon.pro>",
|
"author": "Alice Gaudon <alice@gaudon.pro>",
|
||||||
|
@ -80,6 +80,7 @@ export default class MysqlConnectionManager {
|
|||||||
user: config.get('mysql.user'),
|
user: config.get('mysql.user'),
|
||||||
password: config.get('mysql.password'),
|
password: config.get('mysql.password'),
|
||||||
database: config.get('mysql.database'),
|
database: config.get('mysql.database'),
|
||||||
|
charset: 'utf8mb4',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user