Hi,

I'm using integer migrations and the common rake tasks using args[:version].

My goal is to run a particular migration in a direction of my choice.

Taking advantage of args[:current] I've had luck with

      rake db:migrate{18,17] (takes 18 down)

*immediately* followed by

      rake db:migrate{17,18] (takes 18 up)

*Question:*
If I make sure schema_info has the appropriate current_version, what other 
problems might I encounter?

Thank you,
John

PS: I looked at SequelTools but it's more than I need for this db design 
project.

PPS: I know the risks here but wish to avoid additional migrations so when 
done, I have one pristine set I can run in other environments.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/1c386f12-c744-4937-a69c-b9aa2c773d02n%40googlegroups.com.

Reply via email to