feat(backend): set charset to utf8mb4 for mariadb
Docker / build-and-push (backend) (push) Has been cancelled
Docker / build-and-push (frontend) (push) Has been cancelled
E2E Tests / backend-sqlite (push) Has been cancelled
E2E Tests / backend-mariadb (push) Has been cancelled
E2E Tests / backend-postgres (push) Has been cancelled
Lint and check format / Lint files and check formatting (push) Has been cancelled
REUSE Compliance Check / reuse (push) Has been cancelled
Scorecard supply-chain security / Scorecard analysis (push) Has been cancelled
Static Analysis / Njsscan code scanning (push) Has been cancelled
Static Analysis / CodeQL analysis (javascript) (push) Has been cancelled
Run tests & build / Test and build with NodeJS 24 (push) Has been cancelled

Signed-off-by: Philip Molares <philip.molares@udo.edu>
This commit is contained in:
Philip Molares
2026-03-28 19:24:06 +01:00
parent 84852c22be
commit 57234ee810
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -117,6 +117,7 @@ export function getKnexConfig(databaseConfig: DatabaseConfig): Knex.Config {
database: databaseConfig.name,
password: databaseConfig.password,
dateStrings: true,
charset: 'utf8mb4',
},
pool: {
min: 0,
+1
View File
@@ -236,6 +236,7 @@ export class TestSetupBuilder {
host: process.env.HD_DATABASE_HOST || 'localhost',
port: parseInt(process.env.HD_DATABASE_PORT || '3306'),
dateStrings: true,
charset: 'utf8mb4',
},
};
default: