Open yaoshanliang opened 7 years ago
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mobile' in 'where clause' (SQL: select count(*) as aggregate from admins where mobile = and id != 7)
admins
mobile
id
这个你得加下migration文件,在数据库添加上mobile的字段
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mobile' in 'where clause' (SQL: select count(*) as aggregate from
admins
wheremobile
= andid
!= 7)