【发布时间】:2014-08-13 04:14:44
【问题描述】:
我已将我的应用程序数据库从 mysql 更改为 postgres,因为权限模块给出了异常:
`CDbCommand failed to execute the SQL statement: SQLSTATE[42P01]: Undefined table: 7
ERROR: relation "authitem" does not exist
LINE 2: FROM AuthItem t1
^. The SQL statement executed was: SELECT
name,t1.type,description,t1.bizrule,t1.data,weight
FROM AuthItem t1
LEFT JOIN Rights t2 ON name=itemname
ORDER BY t1.type DESC, weight ASC `
我已经查看了表格名称,它是完全相同的“区分大小写”。
【问题讨论】:
标签: php mysql postgresql yii rights