Skip to content

Security: Complete the Kubernetes/Prisma 7 migration #256

Description

@prem22k

Context: Prisma is pinned at 5.22.0 (schema datasource uses url = env(...)). Prisma 7.8.0 removes url from the datasource and requires prisma.config.ts + a driver adapter. Dependabot PR #238/#241 (bumped to 7.8.0) was deferred because fails with: The datasource property url is no longer supported.

Work needed:

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

Why: 7.8.0 contains breaking changes; staying on 5.22 accumulates drift. Blocks the @prisma/client update.

Detail: this session confirmed the exact failure. Labels: area:backend, area:database, type:security

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