9 months ago
My code in shema.prisma try to get access to postgreSQL with DATABASE_URL, (i have added DATABASE_URL to variables in the project eariler), but i've got error:
Prisma schema validation - (get-config wasm)Error code: P1012
error: Environment variable not found: DATABASE_URL.
--> src/prisma/schema.prisma:8
|
7 | provider = "postgresql"
8 | url = env("DATABASE_URL")
P.S. when i hardcode url instead env("DATABASE_URL") it's work, but i have 24 variable unfortunatly
1 Replies
9 months ago
Hello,
You have not yet deployed the changes after adding the variable -
Best,
Brody
Attachments
Status changed to Awaiting User Response Railway • 9 months ago
4 months ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • 4 months ago