Skip to content

Commit

Permalink
fix: update init
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed May 4, 2024
1 parent 62ab90d commit f5b62ef
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions instrumentation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,12 @@ export async function register() {
],
skipDuplicates: true,
})
await tx.tags.createMany({
data: [
{ name: '首页', tag_value: '/', detail: '首页,勿删', show: 0, sort: 0 },
],
skipDuplicates: true,
})
})
console.log('初始化完毕!')
await prisma.$disconnect()
Expand Down

0 comments on commit f5b62ef

Please sign in to comment.