Most of my migrations are by number, not timestamp, but 5 or 6 of them (the most recent) are with time开发者_如何学Cstamp. 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?
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.
精彩评论