Skip to content

Instantly share code, notes, and snippets.

@r38y
Last active August 29, 2015 14:05
Show Gist options
  • Save r38y/22e2608489a5aad4d390 to your computer and use it in GitHub Desktop.
Save r38y/22e2608489a5aad4d390 to your computer and use it in GitHub Desktop.
Databases not promoting
# HEROKU_POSTGRESQL_GREEN was the old master
# I promoted then got rid of the original master (because it was staging)
# noticed that the follower was still a follower
➜ twinit.bauernet.me git:(split-test) heroku pg:info -r staging
=== HEROKU_POSTGRESQL_MAROON_URL (DATABASE_URL)
Plan: Standard 2
Status: Available
Data Size: 7.76 GB
Tables: 16
PG Version: 9.3.4
Connections: 14
Fork/Follow: Unavailable on followers
Rollback: earliest from 2014-08-18 17:22 UTC
Created: 2014-08-18 15:24 UTC
Maintenance: not required
➜ twinit.bauernet.me git:(split-test) heroku pg:unfollow HEROKU_POSTGRESQL_GREEN -r staging
! Unknown database: HEROKU_POSTGRESQL_GREEN. Valid options are: DATABASE_URL, HEROKU_POSTGRESQL_MAROON_URL
=== HEROKU_POSTGRESQL_PINK_URL
Plan: Standard Tengu
Status: Available
Data Size: 12.53 GB
Tables: 16
PG Version: 9.3.2
Connections: 2
Fork/Follow: Available
Rollback: earliest from 2014-08-18 17:03 UTC
Created: 2014-01-07 04:34 UTC
Followers: HEROKU_POSTGRESQL_YELLOW
Maintenance: not required
=== HEROKU_POSTGRESQL_YELLOW_URL (DATABASE_URL)
Plan: Standard 2
Status: Available
Data Size: 12.53 GB
Tables: 16
PG Version: 9.3.4
Connections: 99
Fork/Follow: Unavailable on followers
Rollback: earliest from 2014-08-18 17:03 UTC
Created: 2014-08-14 17:01 UTC
Following: HEROKU_POSTGRESQL_PINK
Behind By: 0 commits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment