ogq6bw
Last Updated: February 25, 2016
·
389
· mkdizajn
Kreso 300x300

automate heroku script for postgres color

How to find out in shell color for POSTGRES db connection:

COLOR=$(heroku addons | grep POSTGRES | awk -F' ' '{print $NF}')
heroku pg:promote $COLOR

Say Thanks
Respond