Commit Graph

6 Commits

Author SHA1 Message Date
8b18566761 fix: pass config object directly to PrismaLibSql, drop @libsql/client
PrismaLibSql constructor takes a Config object (with url), not a
pre-created Client instance. Remove the unnecessary createClient call
and the @libsql/client direct dependency.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-13 00:28:06 -05:00
fcc04915c2 fix: migrate to Prisma 7 driver adapter (libsql) for SQLite
Prisma 7 removed support for `url` in schema.prisma datasources and the
`engineType = "library"` native binary engine. All connections now go
through a driver adapter.

- Remove engineType and url from schema.prisma (no longer supported)
- Configure prisma.config.ts with migrate.adapter using @libsql/client
- Instantiate PrismaClient with PrismaLibSQL adapter in src/lib/prisma.ts
- Add @libsql/client and @prisma/adapter-libsql dependencies
- Remove PRISMA_CLIENT_ENGINE_TYPE from Dockerfile (obsolete)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:49:58 -05:00
e007d54fb3 claude ftw 2026-03-12 20:13:55 -05:00
f5e3a1e870 no turbo again 2026-03-12 20:02:25 -05:00
1d7c564c4a no turbo 2026-03-12 19:59:59 -05:00
jason
4982e5392e initial commit 2026-03-12 17:09:22 -05:00