什么情况下使用 rake db:migrate

2017年3月29日
1.情况一
详见:
https://fullstack.xinshengdaxue.com/posts/71





2.情况二
详见:https://fullstack.xinshengdaxue.com/posts/73




3.情况三:
详见:https://fullstack.xinshengdaxue.com/posts/76

4.情况四“
详见:https://fullstack.xinshengdaxue.com/posts/81



备注:忽略写错的relationship!

Comments

comments powered by Disqus