Error code: P1012
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
To use a URL with protocol `prisma://`, you need to either enable Accelerate or the Data Proxy.
Enable Accelerate via `prisma generate --accelerate` or the Data Proxy via `prisma generate --data-proxy.`
More information about Data Proxy: https://pris.ly/d/data-proxy
--> prisma/schema.prisma:3
|
2 | provider = "postgresql"
3 | url = env("DATABASE_URL")
|
Validation Error Count: 1
[Context: getConfig]
Error code: P1012
error: Error validating datasource `db`: the URL must start with the protocol `postgresql://` or `postgres://`.
To use a URL with protocol `prisma://`, you need to either enable Accelerate or the Data Proxy.
Enable Accelerate via `prisma generate --accelerate` or the Data Proxy via `prisma generate --data-proxy.`
More information about Data Proxy: https://pris.ly/d/data-proxy
--> prisma/schema.prisma:3
|
2 | provider = "postgresql"
3 | url = env("DATABASE_URL")
|
Validation Error Count: 1
[Context: getConfig]