Bug description
Exact error:
[{
"resource": "/Users/rajat/repo/src/prisma/rds/schema.prisma",
"owner": "_generated_diagnostic_collection_name_#4",
"severity": 8,
"message": "The datasource property `url` is no longer supported in schema files. Move connection URLs for Migrate to `prisma.config.ts` and pass either `adapter` for a direct database connection or `accelerateUrl` for Accelerate to the `PrismaClient` constructor. See https://pris.ly/d/config-datasource and https://pris.ly/d/prisma7-client-config",
"source": "Prisma",
"startLineNumber": 13,
"startColumn": 3,
"endLineNumber": 13,
"endColumn": 33,
"origin": "extHost4"
}]
How to reproduce
Open any .prisma file to see the error.
Expected behavior
I am on "@prisma/client": "^6.11.1" and I believe the error I am getting is supposed to be thrown if I'm on the latest prisma version v7.x -- which I'm not.
Prisma information
Environment & setup
- OS: macOS
- Editor: VSCode using the official extension
- Editor version: latest VSCode
- Extension version: Identifierprisma.prisma Version 7.0.0
Bug description
Exact error:
[{ "resource": "/Users/rajat/repo/src/prisma/rds/schema.prisma", "owner": "_generated_diagnostic_collection_name_#4", "severity": 8, "message": "The datasource property `url` is no longer supported in schema files. Move connection URLs for Migrate to `prisma.config.ts` and pass either `adapter` for a direct database connection or `accelerateUrl` for Accelerate to the `PrismaClient` constructor. See https://pris.ly/d/config-datasource and https://pris.ly/d/prisma7-client-config", "source": "Prisma", "startLineNumber": 13, "startColumn": 3, "endLineNumber": 13, "endColumn": 33, "origin": "extHost4" }]How to reproduce
Open any
.prismafile to see the error.Expected behavior
I am on
"@prisma/client": "^6.11.1"and I believe the error I am getting is supposed to be thrown if I'm on the latest prisma versionv7.x-- which I'm not.Prisma information
Environment & setup