Skip to content

Instantly share code, notes, and snippets.

@jzellman
Created April 22, 2009 00:20
Show Gist options
  • Save jzellman/99490 to your computer and use it in GitHub Desktop.
Save jzellman/99490 to your computer and use it in GitHub Desktop.
for i in $(find db/migrate |grep mondrian |cut -d '/' -f 3 | cut -d '_' -f 1 )
do
rake db:migrate:down VERSION=$i
rake db:migrate:up VERSION=$i
done
rake mondrian:init
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment