Skip to content

Commit

Permalink
missing executes
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 2, 2023
1 parent 537e2c3 commit c9532e0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/pds/src/migrate-script/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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++
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit c9532e0

Please sign in to comment.