This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am zbruhnke on github. | |
* I am zbruhnke (https://keybase.io/zbruhnke) on keybase. | |
* I have a public key whose fingerprint is D289 EC75 92AE 5868 B371 52A3 179D B65F 995A 3C23 | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Postgres equivalent to heroku db:pull. | |
# Pulls latest heroku pgbackups dump into local database | |
# | |
# Usage: | |
# | |
# $ heroku_pg_pull [appname] [local database name] | |
# | |
function heroku_pg_pull(){ | |
echo "! WARNING: Data in the local database '$2' will be destroyed." | |
echo " Type '$2' to overwrite data in local database '$2'" |