Skip to content

Instantly share code, notes, and snippets.

View skoczen's full-sized avatar

Steven Skoczen skoczen

View GitHub Profile
@skoczen
skoczen / migrate.py
Created August 3, 2012 17:02
Heroku shared-database to dev migration helper
#!python
# Run this file to upgrade your shared database to a dev plan.
# Make sure you're using the heroku gem >= 2.30.1
# Usage: python migrate.py
# Follow the interactive prompts.
import sys
import subprocess
def remove_shared_database_after_confirmation(app_name):