⨯ Error [PrismaClientInitializationError]:
Invalid `prisma.user.findUnique()` invocation:
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
--> schema.prisma:8
|
7 | provider = "postgresql"
8 | url = env("DATABASE_URL")
|
Validation Error Count: 1
at <unknown> (--> schema.prisma:8)
at async k (.next/server/app/inbox/page.js:1:11022) {
clientVersion: '6.2.1',
errorCode: undefined,
digest: '2087436669'
}
⨯ Error [PrismaClientInitializationError]:
Invalid `prisma.user.findUnique()` invocation:
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
--> schema.prisma:8
|
7 | provider = "postgresql"
8 | url = env("DATABASE_URL")
|
Validation Error Count: 1
at <unknown> (--> schema.prisma:8)
at async k (.next/server/app/inbox/page.js:1:11022) {
clientVersion: '6.2.1',
errorCode: undefined,
digest: '2087436669'
}