Skip to content

build(deps): migrate to Prisma 7 (driver adapter)#28

Merged
rumitvn merged 1 commit into
masterfrom
dependabot/npm_and_yarn/prisma/client-7.8.0
Jun 8, 2026
Merged

build(deps): migrate to Prisma 7 (driver adapter)#28
rumitvn merged 1 commit into
masterfrom
dependabot/npm_and_yarn/prisma/client-7.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor

Supersedes the plain Dependabot bump. Prisma 7 removes the schema-level datasource url and requires a driver adapter at runtime.

  • @prisma/client + prisma -> ^7.8.0
  • add @prisma/adapter-pg + pg (pg connection pool)
  • move Migrate connection URL to prisma.config.ts
  • drop url = env("DATABASE_URL") from schema datasource
  • wire PrismaPg adapter into lib/prisma.ts

Fixes the implicit-any type error from the original client-7 / CLI-6 mismatch. next build typechecks clean.

⚠️ Runtime DB connection (driver adapter / pg pool) is not exercised by CI — verify by running the app against a real Postgres before relying on it.

@dependabot @github

dependabot Bot commented on behalf of github Jun 8, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: dependencies. Please create it before Dependabot can add it to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/prisma/client-7.8.0 branch from b78840d to 986b706 Compare June 8, 2026 15:06
Prisma 7 removes the datasource `url` from schema.prisma and requires a
driver adapter at runtime.

- bump @prisma/client and prisma to ^7.8.0
- add @prisma/adapter-pg + pg (driver adapter / connection pool)
- move the Migrate connection URL to prisma.config.ts (datasource.url)
- drop `url = env("DATABASE_URL")` from schema.prisma datasource
- wire PrismaPg adapter into lib/prisma.ts PrismaClient

Resolves the implicit-any type error from the client-7 / CLI-6 mismatch
in the original Dependabot PR. `next build` typechecks clean.
@rumitvn rumitvn force-pushed the dependabot/npm_and_yarn/prisma/client-7.8.0 branch from 986b706 to 970890c Compare June 8, 2026 15:40
@rumitvn rumitvn changed the title Bump @prisma/client from 6.9.0 to 7.8.0 build(deps): migrate to Prisma 7 (driver adapter) Jun 8, 2026
@rumitvn rumitvn merged commit 202d1e5 into master Jun 8, 2026
1 check passed
@rumitvn rumitvn deleted the dependabot/npm_and_yarn/prisma/client-7.8.0 branch June 8, 2026 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants