Chinaunix

标题: [rake]db:migrate建表出错 [打印本页]

作者: coolmoon_133319    时间: 2015-02-10 11:39
标题: [rake]db:migrate建表出错
环境信息:


执行结果:


期望执行up方法,实际上是down方法。
作者: coolmoon_133319    时间: 2015-02-10 15:02
怎么解决这个问题啦?
作者: tangxin991    时间: 2015-02-25 11:30
提示: 作者被禁止或删除 内容自动屏蔽
作者: drjones    时间: 2015-02-28 17:45
提示: 作者被禁止或删除 内容自动屏蔽
作者: safeng    时间: 2015-03-03 14:01
收藏!!!!!!!!!!
作者: shijiang1130    时间: 2015-03-09 12:53
coolmoon_133319 发表于 2015-02-10 11:39
环境信息:

based on your snapshot, it seems you are running the default db:migration
from this post http://rubyinrails.com/2014/01/0 ... o-rollback-options/
i thought we can run rake db:migrate:up instead of your previous one.
作者: coolmoon_133319    时间: 2015-04-14 15:23
回复 6# shijiang1130
Thank you for your feedbacks. And I had done a trial as you said. However, the issue was not solved yet. Can you give me other suggestions?

   
作者: lnzwck    时间: 2015-04-22 21:09
提示: 作者被禁止或删除 内容自动屏蔽
作者: panyuan520    时间: 2015-04-25 07:46
我是一楼吗??




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2