Pergunta

Hey guys I only want to undo one migration file, something like

rake db:rollback VERSION=$TIMESTAMP

this command doesn't work, any suggestion?

Foi útil?

Solução

rake db:migrate:down VERSION=$TIMESTAMP should do the trick.

Outras dicas

rake db:rollback is now the way.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top