Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore(deps): remove unused dependency `db0`

Timothy Yin3105c85ddf25
diff --git a/package.json b/package.json
index 614dd9b5..9e462d25 100644
--- a/package.json
+++ b/package.json
@@ -45,7 +45,6 @@
"better-sqlite3": "^12.2.0",
"cloudflare": "^4.5.0",
"dayjs-nuxt": "2.1.11",
- "db0": "^0.3.2",
"drizzle-orm": "^0.44.4",
"es-toolkit": "^1.39.10",
"exiftool-vendored": "^30.3.0",
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ff646949..4f9dc5a9 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -65,9 +65,6 @@ importers:
dayjs-nuxt:
specifier: 2.1.11
version: 2.1.11([email protected])
- db0:
- specifier: ^0.3.2
drizzle-orm:
specifier: ^0.44.4
version: 0.44.5(@cloudflare/[email protected])(@types/[email protected])([email protected])
diff --git a/server/utils/db.ts b/server/utils/db.ts
index 537b19af..f9750844 100644
--- a/server/utils/db.ts
+++ b/server/utils/db.ts
@@ -1,4 +1,3 @@
-// import { drizzle } from 'drizzle-orm/d1'
import { drizzle } from 'drizzle-orm/better-sqlite3'
import Database from 'better-sqlite3'