Skip to content

Instantly share code, notes, and snippets.

@ys
Created August 2, 2012 11:52
Show Gist options
  • Save ys/3236510 to your computer and use it in GitHub Desktop.
Save ys/3236510 to your computer and use it in GitHub Desktop.
Script for the migration of your Heroku app's database from Shared DB to Postgres 'dev' Plan
#!/usr/bin/env ruby
##
# This script migrates your Heroku app from a Shared DB to a Postgres `dev` Plan
#
# Usage:
# ruby heroku_migration.rb [apps_name(separated by spaces)]
# Example:
# $ ruby heroku_migration.rb app_1 app_2 app_3
#
SORRY BUGGY VERSION A NEW ONE IS COMING
### This is created on the base of another gist made by [@pcreux](http://twitter.com/pcreux).
You can find that one there : [https://gist.github.com/3236123](https://gist.github.com/3236123)
### This is created on the base of another gist made by [@pcreux](http://twitter.com/pcreux).
You can find that one there : [https://gist.github.com/3236123](https://gist.github.com/3236123)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment