Skip to content

Instantly share code, notes, and snippets.

@obfuscurity
Created November 30, 2011 15:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save obfuscurity/1409393 to your computer and use it in GitHub Desktop.
Save obfuscurity/1409393 to your computer and use it in GitHub Desktop.
Migration run for blog post
$ heroku config:add VERSION=2
Adding config vars and restarting app... done, v7
VERSION => 2
$ heroku run rake db:migrate:to
Running rake db:migrate:to attached to terminal... up, run.2
(in /app)
<= sq:migrate:to version=[2] executed
$ heroku run rake db:migrate:down
Running rake db:migrate:down attached to terminal... up, run.3
(in /app)
<= sq:migrate:down executed
$ heroku run rake db:migrate:up
Running rake db:migrate:up attached to terminal... up, run.4
(in /app)
<= sq:migrate:up executed
$ heroku config:remove VERSION
Removing VERSION and restarting app... done, v11.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment