문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top