Dear,
After following the migration guide, i think i am missing a step somewhere.
Since i am not able to login anymore and my container has the following logs:
npm notice New patch version of npm available! 11.6.1 -> 11.6.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v11.6.4
npm notice To update run: npm install -g npm@11.6.4
npm notice
Deploying database migrations...
Prisma schema loaded from prisma/schema.prisma
Error: Prisma schema validation - (get-config wasm)
Error code: P1012
error: 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
--> prisma/schema.prisma:9
|
8 | provider = "postgresql"
9 | url = env("DATABASE_URL")
|
Validation Error Count: 1
[Context: getConfig]
Prisma CLI Version : 7.0.1
Running server...
▲ Next.js 16.0.1
- Local: http://localhost:3000
- Network: http://0.0.0.0:3000
✓ Starting...
✓ Ready in 73ms
prisma:error
Invalid `prisma.subscription.findMany()` invocation:
The column `(not available)` does not exist in the current database.
Error [PrismaClientKnownRequestError]:
Invalid `prisma.subscription.findMany()` invocation:
The column `(not available)` does not exist in the current database.
at async _ (.next/server/chunks/_cc5f902f._.js:42:3014)
at async f (.next/server/chunks/_cc5f902f._.js:42:9212) {
code: 'P2022',
meta: [Object],
clientVersion: '6.19.0'
}
prisma:error
Invalid `prisma.subscription.findMany()` invocation:
The column `(not available)` does not exist in the current database.
Error [PrismaClientKnownRequestError]:
Invalid `prisma.subscription.findMany()` invocation:
The column `(not available)` does not exist in the current database.
at async _ (.next/server/chunks/_cc5f902f._.js:42:3014)
at async f (.next/server/chunks/_cc5f902f._.js:42:9212) {
code: 'P2022',
meta: [Object],
clientVersion: '6.19.0'
}
Dear,
After following the migration guide, i think i am missing a step somewhere.
Since i am not able to login anymore and my container has the following logs: