feat: migrate from PocketBase to PostgreSQL with Drizzle ORM

- Add @project-e/db package with Drizzle schema and migrations
- Replace PocketBase client with PostgreSQL-based database client
- Migrate auth from custom to NextAuth.js
- Add Docker Compose with PostgreSQL container
- Update worker to use new database client
- Remove PocketBase-specific files and migrations
- Add drizzle config and initial migration
This commit is contained in:
2026-07-24 07:08:29 -04:00
parent 6c438eab32
commit 73335484f8
42 changed files with 2895 additions and 2796 deletions
+7 -4
View File
@@ -9,11 +9,14 @@
"typecheck": "tsc --noEmit"
},
"dependencies": {
"pocketbase": "^0.25.0",
"@project-e/shared": "*"
"@project-e/db": "^0.1.0",
"@project-e/shared": "*",
"drizzle-orm": "^0.45.2",
"postgres": "^3.4.9",
"tsx": "^4.23.1"
},
"devDependencies": {
"typescript": "^5.9.3",
"@types/node": "^22.19.0"
"@types/node": "^22.19.0",
"typescript": "^5.9.3"
}
}