阅读背景:

Rails迁移 - 寻找旧迁移的变化?

来源:互联网 

If I have two migrations, mig1 and mig2, I run rake db:migrate, then I go back to mig1 and change the default value of a column, will this change be reflected when I run rake db:migrate again? Or do I have to make a new migration just for that column to make the change?If I have two migrations, mig1 and mig2, I run




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: