Friday, 15 April 2011

rake - Rails: how to run all migrations up to a certain timestamp -



rake - Rails: how to run all migrations up to a certain timestamp -

i'm trying revert database previous state. reason db:rollback isn't working (i might have flubbed 1 of down methods), instead of rolling back, wondering if there dropping database , re-running migrations. essentially, i'd run db:migrate, i'd stop @ particular timestamp.

is there rake command run migrations , including given timestamp?

rake db:migrate version=timestamp

ruby-on-rails rake

No comments:

Post a Comment