Most of my migrations are by number, not timestamp, but 5 or 6 of them (the most recent) are with timestamp. These I want to move to number based, and now I want to forward the migration table to the appropriate number. How do I force the table to update without actually running the migration, or should I migrate down to 5 or 6 ago (before timestamp) and then migrate up again with numbers?
A:
You either have to edit the corresponding rows in the table by hand, or roll down and back up after renaming. I'm not even sure how the rolling down and up will be handled if the migration numbers are in mixed format.
Tanel Suurhans
2010-06-22 19:17:40
when you say edit-by-hand, do you mean remove the timestamp based entries, replace them with their number equivalents, and then it will be ok?
tesmar
2010-06-22 22:51:20
Yep, that's exactly what i meant :)
Tanel Suurhans
2010-06-23 01:20:15