sqlalchemy.exc.InternalError: (cymysql.err.InternalError)

来源:1-1 开宗明义

慕诺yes

2019-10-29

sqlalchemy.exc.InternalError: (cymysql.err.InternalError) (1054, “Unknown column ‘user.password’ in ‘field list’”)
[SQL: SELECT user.password AS user_password, user.status AS user_status, user.id AS user_id, user.nickname AS user_nickname, user.phone_number AS user_phone_number, user.email AS user_email, user.confirmed AS user_confirmed, user.beans AS user_beans, user.send_counter AS user_send_counter, user.receive_counter AS user_receive_counter
FROM user

写回答

1回答

7七月

2019-10-29

缺少password这个字段,是否是在数据表生成后又修改了模型。

0
0

Python Flask高级编程之从0到1开发《鱼书》精品项目

7月老师深入浅出剖析Flask核心机制,和你一起探讨Python高级编程

2735 学习 · 1267 问题

查看课程