fix: migrate to Prisma 7 driver adapter (libsql) for SQLite #2

Merged
jason merged 1 commits from claude/reverent-proskuriakova into master 2026-03-12 23:51:13 -05:00
Owner

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

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>
jason added 1 commit 2026-03-12 23:50:58 -05:00
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>
jason merged commit fbbd67fbc6 into master 2026-03-12 23:51:13 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jason/wfh#2