From http://docs.heroku.com/database:
"Each database installed on a Heroku app has a unique database URL which can be used by your app to connect to that database. The URLs are viewable and accessible through config vars <http://docs.heroku.com/config-vars>. The config var name for the default shared database is SHARED_DATABASE_URL.
In addition, each app has a config var named DATABASE_URL, which is the database that Rails will use by default. You can change which database is set to DATABASE_URL with the 'heroku pg:promote <http://docs.heroku.com/heroku-postgresql#promotion-and-database-urls>' command."
I'm confused. 1) Do both of these configuration variables always exist for a given app.? 2) When would SHARED_DATABASE_URL be used as opposed to DATABASE_URL? Thanks, Wes -- You received this message because you are subscribed to the Google Groups "Heroku" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
