From 69d863f77ecef928c9ff2e3f961c4743cdcff4d6 Mon Sep 17 00:00:00 2001 From: dholms Date: Thu, 2 Nov 2023 20:46:59 -0500 Subject: [PATCH] tweak --- packages/pds/src/migrate-script/migrate-all.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/pds/src/migrate-script/migrate-all.ts b/packages/pds/src/migrate-script/migrate-all.ts index ea53ac535ff..e184884f72d 100644 --- a/packages/pds/src/migrate-script/migrate-all.ts +++ b/packages/pds/src/migrate-script/migrate-all.ts @@ -39,7 +39,7 @@ export const runScript = async () => { const todo = await db .selectFrom('status') .where('status.phase', '<', 7) - .where('failed', '!=', 1) + // .where('failed', '!=', 1) .orderBy('phase', 'desc') .orderBy('did') .selectAll() @@ -61,6 +61,8 @@ export const runScript = async () => { await migrateRepo(ctx, db, pdsInfo, status, adminToken) completed++ } catch (err) { + // @ts-ignore + console.log(err[message]) await db .updateTable('status') .set({ failed: 1 })