From 281c0ae8290af12b79e0c2701a0ddb4891c1e7d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E0=A4=95=E0=A4=BE=E0=A4=B0=E0=A4=A4=E0=A5=8B=E0=A4=AB?= =?UTF-8?q?=E0=A5=8D=E0=A4=AB=E0=A5=87=E0=A4=B2=E0=A4=B8=E0=A5=8D=E0=A4=95?= =?UTF-8?q?=E0=A5=8D=E0=A4=B0=E0=A4=BF=E0=A4=AA=E0=A5=8D=E0=A4=9F=E2=84=A2?= Date: Thu, 31 Aug 2023 11:57:40 +0200 Subject: [PATCH] ci: Define explicit charset for mysql/mariadb test database (no-changelog) (#7053) [DB Tests](https://github.com/n8n-io/n8n/actions/runs/6035513299/job/16375993427) --- packages/cli/test/integration/shared/testDb.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli/test/integration/shared/testDb.ts b/packages/cli/test/integration/shared/testDb.ts index 51a9085511..6d1d572473 100644 --- a/packages/cli/test/integration/shared/testDb.ts +++ b/packages/cli/test/integration/shared/testDb.ts @@ -98,7 +98,7 @@ export async function init() { await Db.init(getDBOptions('postgres', testDbName)); } else if (dbType === 'mysqldb' || dbType === 'mariadb') { const bootstrapMysql = await new Connection(getBootstrapDBOptions('mysql')).initialize(); - await bootstrapMysql.query(`CREATE DATABASE ${testDbName}`); + await bootstrapMysql.query(`CREATE DATABASE ${testDbName} DEFAULT CHARACTER SET utf8mb4`); await bootstrapMysql.destroy(); await Db.init(getDBOptions('mysql', testDbName));