Skip to content

Security: Complete the Prisma 7 migration #257

Description

@prem22k

Prisma is pinned at 5.22.0. Prisma 7.8.0 removes the url property from the schema datasource and requires prisma.config.ts plus a driver adapter. Dependabot PRs 238/241 were deferred because npx prisma generate fails with: The datasource property url is no longer supported.

Work needed:

  • Migrate backend/prisma/schema.prisma (remove url, use a driver adapter)
  • Add prisma.config.ts
  • Rewrite backend/lib/prisma.js PrismaClient construction
  • Regenerate client, run backend tests, verify the Oracle ADB connection

Why: staying on 5.22 accumulates drift and blocks the @prisma/client update.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions