Skip to content

Instantly share code, notes, and snippets.

@alexdesi
Created March 8, 2012 12:26
Show Gist options
  • Save alexdesi/2000775 to your computer and use it in GitHub Desktop.
Save alexdesi/2000775 to your computer and use it in GitHub Desktop.
How to run only one migration
./script/runner 'require("./db/migrate/migration_name.rb").first.constantize.up'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment