Ivan Lukianchuk
06/18/2022, 6:20 PMError validating datasource `db`: the URL must start with the protocolorpostgresql://postgres://
To use a URL with protocolBut as per the docs, I have added the line "PRISMA_GENERATE_DATAPROXY=true" into my .env.production, yet somehow it just seems ignored?the Data Proxy must be enabled viaprisma://.prisma generate --data-proxy
Harsh Singh
06/18/2022, 8:57 PMPRISMA_CLIENT_ENGINE_TYPE=dataproxy into your .env file.Nurul
06/20/2022, 10:47 AMPRISMA_CLIENT_ENGINE_TYPE=dataproxy in env variables or while generating prisma client with command npx prisma generate you can pass --data-proxy flag.
So the command would be npx prisma generate --data-proxy.