From e627aa31ec1a6bc3429afcfe0232f3987cbf0bb1 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 22 May 2024 16:15:52 +0100 Subject: [PATCH 1/2] feat(cb2-11778): add explicit charset to mysql connection --- src/infrastructure/databaseService.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/infrastructure/databaseService.ts b/src/infrastructure/databaseService.ts index 5f6524e..6011d6e 100644 --- a/src/infrastructure/databaseService.ts +++ b/src/infrastructure/databaseService.ts @@ -41,6 +41,7 @@ export default class DatabaseService implements DatabaseServiceInterface { port: dbConnectionDetails.port, database: process.env.SCHEMA_NAME, multipleStatements: true, + charset: 'utf8mb4' }); } From 3b17fb411cb076df70a7b4f2ddfea03d2d0441a1 Mon Sep 17 00:00:00 2001 From: Leo Date: Wed, 22 May 2024 16:16:35 +0100 Subject: [PATCH 2/2] feat(cb2-11778): additional lint change --- src/infrastructure/databaseService.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/databaseService.ts b/src/infrastructure/databaseService.ts index 6011d6e..829dab4 100644 --- a/src/infrastructure/databaseService.ts +++ b/src/infrastructure/databaseService.ts @@ -41,7 +41,7 @@ export default class DatabaseService implements DatabaseServiceInterface { port: dbConnectionDetails.port, database: process.env.SCHEMA_NAME, multipleStatements: true, - charset: 'utf8mb4' + charset: 'utf8mb4', }); }