Migrated to Prisma
Migrated to the Prisma ORM. Text TODO: Change code
This commit is contained in:
1 parent
4948946c0d
commit
9aa94638d9
98 files changed
+19930
-3
No files matched your search
@@ -0,0 +1,8 @@
|
||||
// instrumentation.ts ← Root des Projekts, neben package.json
|
||||
|
||||
export async function register() {
|
||||
if (process.env.NEXT_RUNTIME === 'nodejs') {
|
||||
const { initDB } = await import('@/lib/db/initDB')
|
||||
await initDB()
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user