Migrate in between versions

how to migrate in between versions ?
suppose if i have version 1-50 .

if i want to revert from 30-40 then what should i do ?

Pokkai D. wrote:

how to migrate in between versions ?
suppose if i have version 1-50 .

if i want to revert from 30-40 then what should i do ?

I assume you know about the VERSION option you can pass into rake
db:migrate? You can rake you db down to version 30 then up to 40…but
what does this accomplish?

Read the manual for rake, or try this, this will migrate you to
version 30

rake db:migrate VERSION=30

On Jan 18, 3:16 pm, Pokkai D. [email protected]

Glenn Gentzke wrote:

Pokkai D. wrote:

how to migrate in between versions ?
suppose if i have version 1-50 .

if i want to revert from 30-40 then what should i do ?

I assume you know about the VERSION option you can pass into rake
db:migrate? You can rake you db down to version 30 then up to 40…but
what does this accomplish?

i want to chanhe the migration file for those VERSION only 30-40

and i have some datas in 40-50 tables…

so i want to revert only 30-40 then i should create 30-40 with changes.

thats all

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs