Skip to content

Commit

Permalink
tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
dholms committed Nov 3, 2023
1 parent 093f86f commit 69d863f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/pds/src/migrate-script/migrate-all.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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 })
Expand Down

0 comments on commit 69d863f

Please sign in to comment.