Skip to content

Commit

Permalink
fix migration on empty db
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Krick <[email protected]>
  • Loading branch information
mattkrick committed Jul 25, 2024
1 parent d171d43 commit d30454c
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export async function up() {
pseudoId
}
})
if (insertData.length === 0) return
await pg.insertInto('EmailVerification').values(insertData).execute()
}

Expand Down

0 comments on commit d30454c

Please sign in to comment.