fix
This commit is contained in:
1 parent
0f88ae82a3
commit
a72afc173e
1 file changed
+1
-2
+1
-2
@@ -1,9 +1,8 @@
|
||||
import { Database } from 'bun:sqlite'
|
||||
import { drizzle } from 'drizzle-orm/bun-sqlite'
|
||||
import { join } from 'path'
|
||||
import * as schema from './schema'
|
||||
|
||||
const dbPath = join(process.cwd(), 'uploads.db')
|
||||
const dbPath = `${process.cwd()}/uploads.db`
|
||||
const sqlite = new Database(dbPath)
|
||||
const db = drizzle(sqlite, { schema })
|
||||
|
||||
|
||||
Reference in new issue
Block a user