database: change charset to utf8mb4

part of #836
This commit is contained in:
Girish Ramakrishnan
2025-06-19 10:39:01 +02:00
parent 227da8dce4
commit 313c90ff85
3 changed files with 9 additions and 1 deletions

View File

@@ -53,7 +53,8 @@ async function initialize() {
multipleStatements: false,
waitForConnections: true, // getConnection() will wait until a connection is avaiable
ssl: false,
timezone: 'Z' // mysql follows the SYSTEM timezone. on Cloudron, this is UTC
timezone: 'Z', // mysql follows the SYSTEM timezone. on Cloudron, this is UTC
charset: 'utf8mb4'
});
gConnectionPool.on('connection', function (connection) {