zurmo(三) exception 'CException' with message 'Failed to resolve Product.startdate to column'
来源:互联网 发布:证券客户经理知乎 编辑:程序博客网 时间:2024/05/02 04:28
在跑zurmoc updateschema super
命令,想更新下数据库里的表和字段时,补充说下, 这条命令是可以根据zurmo代码中的member 和 relation 关系,把数据库里数据表中的字段进行更新,只会增加没有的字段,而不会去 删改已有字段,同时,这条命令会初始化下数据库的数据, 存储跟新建zurmo数据库表的一样的数据。
而我所遇到的错误是下面截图:
遇到这种错误,解决方法就是,在Product模块的models文件夹下,除了要在members下定义rate,还得在下面的rules中这条array(‘rate’, ‘type’, ‘type’ => ‘float’) 才行。
再跑一次zurmoc updateschema super
就能通过了
1 0
- zurmo(三) exception 'CException' with message 'Failed to resolve Product.startdate to column'
- yii Exception (Exception) 'yii\base\Exception' with message 'Failed to change permissions for direc
- Installation failed with with message Failed to establish session
- Failed to resolve: 之一
- Failed to resolve:aar
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- 解决Installation failed with message failed to establish session
- Installation failed with message Failed to establish session(小米手机)
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
- Installation failed with message Failed to establish session.
- Installation failed with message Failed to establish session解决方案
- Installation failed with message Failed to establish session
- Android Studio Installation failed with message Failed to establish session.
- Installation failed with message Failed to finalize session : INSTALL_FAILED_NO_MATCHING_ABIS
- 小米手机Installation failed with message Failed to establish session.
- Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native librarie
- Installation failed with message Failed to establish session
- Installation failed with message Failed to establish session.
- linux中浅谈信号(一)
- 解决github上公开项目下载速度慢问题
- 机房通信网设计
- IDEA 的工程引入 Struts 2
- syslog-ng + syslogd + logrotate
- zurmo(三) exception 'CException' with message 'Failed to resolve Product.startdate to column'
- Rapidminer的基本操作
- 安卓开发:Activity之间的切换和传值
- 4-8 求m到n之和 (10分)
- Codeforces 779D String Game 【二分】
- Redis——安全设置&主从复制
- vector基本用法(转载)
- app测试总结(fiddler抓包之https)
- matcaffe 编译报错