InvalidArgumentException:未配置Database [database]

I have deployed a web app to heroku and everything seemed to be okay. I ran the migration and it was successful.

When I try to open the app in a browser am getting the below error, what could be the problem? Having in mind the migration was successful and when I access the heroku DB from my localhost it is working well.

production.ERROR: InvalidArgumentException: Database [database] 
not configured. in /app/bootstrap/cache/compiled.php:11774

Kindly help.