fix: Database Connection Charset to utf8mb4_unicode_ci

This commit is contained in:
Moriz Wahl 2022-05-19 19:51:56 +02:00
parent 32e4a0cfd9
commit cd51297db5

View File

@ -20,6 +20,9 @@ const connection = async (): Promise<Connection | null> => {
logger: new FileLogger('all', { logger: new FileLogger('all', {
logPath: CONFIG.TYPEORM_LOGGING_RELATIVE_PATH, logPath: CONFIG.TYPEORM_LOGGING_RELATIVE_PATH,
}), }),
extra: {
charset: 'utf8mb4_unicode_ci',
},
}) })
} catch (error) { } catch (error) {
// eslint-disable-next-line no-console // eslint-disable-next-line no-console