Commit Graph

8 Commits

Author SHA1 Message Date
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
042c45d9dd fix: restore DATABASE_URL in schema.prisma for Prisma 7 runtime client
Prisma 7's prisma.config.ts only configures the CLI, not the runtime
PrismaClient. Without url in the datasource block, the generated client
defaults to engineType "client" (WASM) which requires an adapter,
causing next-auth adapter errors on OAuth callback.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-12 23:46:01 -05:00
13f53badc3 again? 2026-03-12 20:27:11 -05:00
f5e3a1e870 no turbo again 2026-03-12 20:02:25 -05:00
6b0190de81 more fixes 2026-03-12 19:18:01 -05:00
5de0f52af7 prisma fixes 2026-03-12 19:15:56 -05:00
jason
2743b6ddf1 prisma fix 2026-03-12 17:30:36 -05:00
jason
4982e5392e initial commit 2026-03-12 17:09:22 -05:00