mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
migrate: hustoj: print encoding
This commit is contained in:
1 file changed
+1
@@ -76,6 +76,7 @@ export async function run({
|
||||
const query = (q: string) => new Promise<any[]>((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' });
|
||||
|
||||
Reference in new issue
Block a user