flask-sqlalchemy 报错:sqlalchemy.exc.OperationalError

flask-sqlalchemy 报错:sqlalchemy.exc.OperationalError

sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) no such table: users
[SQL: SELECT users.id AS users_id, users.email AS users_email, users.username AS users_username, users.role_id AS users_role_id, users.password_hash AS users_password_hash
FROM users
WHERE users.email = ?
LIMIT ? OFFSET ?]
[parameters: ('askda@qq.com', 1, 0)]


回答:

no such table: users

就是字面意思

以上是 flask-sqlalchemy 报错:sqlalchemy.exc.OperationalError 的全部内容, 来源链接: utcz.com/p/937688.html

回到顶部