Skip to content

Commit 123dabe

Browse files
refactor: migrate from better-sqlite3 to Prisma
- Install Prisma dependencies and initialize with SQLite - Create Prisma schema matching existing database structure - Replace database.js with Prisma-based database service - Update all API routes, tRPC routers, and WebSocket handler - Convert TypeScript types to match Prisma schema - Update build process to include Prisma migrations - Remove better-sqlite3 dependency All database operations now use Prisma while maintaining SQLite backend.
1 parent d95a854 commit 123dabe

File tree

22 files changed

+1099
-959
lines changed

22 files changed

+1099
-959
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,5 @@ yarn-error.log*
4949
*.tsbuildinfo
5050

5151
# idea files
52-
.idea
52+
.idea
53+
/generated/prisma

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.4.1
1+
0.4.2

0 commit comments

Comments
 (0)