keystone-6-heroku-example
keystone-6-heroku-example copied to clipboard
DB_URL undefined during build
I tried this same setup on my app but it seemed like heroku hadn't created the ENV vars or something yet.
remote: error: Error validating datasource `postgresql`: You must provide a nonempty URL. The environment variable `DATABASE_URL` resolved to an empty string.
remote: --> schema.prisma:5
remote: |
remote: 4 | datasource postgresql {
remote: 5 | url = env("DATABASE_URL")
Any ideas?
@ChuckJonas did you add the Postgresql addon to Heroku as per the example or did you use the one-click deployment option?