api-platform-heroku icon indicating copy to clipboard operation
api-platform-heroku copied to clipboard

The docs ask for SYMFONY__DATABASE_URL, but the code asks for DATABASE_URL

Open brunoreis opened this issue 7 years ago • 0 comments

Here: https://github.com/dunglas/api-platform-heroku

You say:

In your local development environment, don't forget to set the SYMFONY__DATABASE_URL environment variable. A typical value for that variable is `postgres://user:pass@server:5432/dbname.

But in the code here: https://github.com/dunglas/api-platform-heroku/blob/6e6f68764c31e679033c82acd85430d7b4b6d482/src/Database.php#L26

You are looking for 'DATABASE_URL'

brunoreis avatar Jan 05 '18 12:01 brunoreis