diff --git a/packages/pds/src/migrate-script/index.ts b/packages/pds/src/migrate-script/index.ts index cefa02c7063..5944deb9c21 100644 --- a/packages/pds/src/migrate-script/index.ts +++ b/packages/pds/src/migrate-script/index.ts @@ -54,6 +54,7 @@ export const runScript = async () => { .updateTable('status') .set({ failed: 1 }) .where('did', '=', status.did) + .execute() console.error(`failed to migrate: ${status.did}`, err) } pdsCounter++ @@ -103,6 +104,7 @@ const migrateRepo = async ( .insertInto('failed_pref') .values({ did: status.did }) .onConflict((oc) => oc.doNothing()) + .execute() } finally { status.phase = TransferPhase.preferences await updateStatus(db, status)