What's the significance when a Heroku database URL is called 'HEROKU_POSTGRESQL_WHITE_URL'? -


what's "significance" - if - when database url called heroku_postgresql_white_url? i've seen other names in heroku's documentation such 'heroku_postgresql_purple_url', heroku_postgresql_charcoal_url,...

does mean it's primary database, or first database provision? love know.

$ heroku pg:info === heroku_postgresql_white_url (database_url) plan:               standard 0 status:             available data size:          491.9 mb tables:             22 pg version:         9.3.5 .... 

colors picked randomly , exist uniquely in scope of application database created on. across multiple applications, colors have no meaning or correlation.

by example, can have 2 applications 4 distinct databases using 3 colors:

  • my_awesome_application
    • heroku_postgresql_white_url
    • heroku_postgresql_red_url
  • my_other_thing
    • heroku_postgresql_blue_url
    • heroku_postgresql_white_url

the color in db:info marked (database_url) 1 application connecting (unless you've configured else). if @ heroku config, you'll see like

heroku_postgresql_white_url=postgres://path.to:a/db database_url=<the same value white has> 

if you've provisioned other databases on same app, followers, you'll see more colors in config different urls. if they're followers, pg:info tells db they're following.


Comments

Popular posts from this blog

shopping cart - Page redirect not working PHP -

php - How to modify a menu to show sub-menus -

python - Installing PyDev in eclipse is failed -