Initial commit v1.1

This commit is contained in:
Rolf
2026-03-18 13:34:41 +01:00
parent cb04bf2ab8
commit b982584244
38 changed files with 3196 additions and 1103 deletions
+7
View File
@@ -0,0 +1,7 @@
export async function register() {
if (process.env.NEXT_RUNTIME === 'nodejs') {
const { migrate } = await import('drizzle-orm/postgres-js/migrator')
const { db } = await import('@/lib/db')
await migrate(db, { migrationsFolder: './lib/db/migrations' })
}
}