How to get environment variables in a prisma schema

i guess technically i could use it outside of secret but then it will be public. probably not wise to do that

This is true. I’m not sure how to help you here tbh.

1 Like

Make sure you pressed “save” in secrets, try running kill 1 in shell, then make sure echo $DATABASE_URL returns something.

You should be able to! @QwertyQwerty88 just thought the replit provided db’s url was DATABASE_URL instead of REPLIT_DB_URL