This commit is contained in:
xuyue committed 2025-10-21 14:14:54 +08:00
1 parent d7ec0c6bdc
commit 9275b8bfdd
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
# deps
node_modules/
*.db
data/*.db
dist/
+1 -1
View File
@@ -2,7 +2,7 @@ import { Database } from 'bun:sqlite'
import { drizzle } from 'drizzle-orm/bun-sqlite'
import * as schema from './schema'
const dbPath = `${process.cwd()}/uploads.db`
const dbPath = `${process.cwd()}/data/uploads.db`
const sqlite = new Database(dbPath)
const db = drizzle(sqlite, { schema })