how can I attach a database to an app in Heroku
===

I'm using Heroku's Postgres addon, and I created a new production database from the Heroku Postgres addon page.
I Didn't add it directly to my App using the Resources page of my App.

Now I want to attach this database to my App so it'll be recognized by the **heroku pg** command.

I'm able to use the database btw after setting the **DATABASE_URL** config var of my app to point to it, but **heroku pg** command doesn't recognize it yet.

Additional info: The previous database was Shared, and the new one is a Production.

Thanks