From 4f520f340c29555179b888e7fa9d5145eaeb9260 Mon Sep 17 00:00:00 2001 From: undefined Date: Sat, 21 Sep 2024 08:24:29 +0800 Subject: [PATCH] migrate: hustoj: print encoding --- packages/migrate/scripts/hustoj.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/migrate/scripts/hustoj.ts b/packages/migrate/scripts/hustoj.ts index 7d0ea4a49..c8a3ed4e4 100644 --- a/packages/migrate/scripts/hustoj.ts +++ b/packages/migrate/scripts/hustoj.ts @@ -76,6 +76,7 @@ export async function run({ const query = (q: string) => new Promise((res, rej) => { src.query(q).then((r) => res(r)).catch((e) => rej(e)); }); + report({ message: JSON.stringify(await query("show VARIABLES like 'char%';")) }); const target = await DomainModel.get(domainId); if (!target) throw new NotFoundError(domainId); report({ message: 'Connected to database' });