DEV Community

loading...

Discussion on: Deploy Laravel application with database to Heroku

Collapse
garvitjoshi profile image
Garvit Joshi

Hy, This was Really Informative .... Just a quick question: Should DATABASE_URL be kept secret?

Collapse
safventure profile image
Saf Venture Author • Edited

Yes, you’re right. The suggestion of @marwane on the above comment is more appropriate. In database.php, just change the default connection to pgsql and the database is configured in heroku config vars. Sorry I have not updated my tutorial and thanks for pointing that out.