Peggun / osd

Open-Source Data for everyone to use freely. Built upon the Flask framework in Python
Apache License 2.0
1 stars 0 forks source link

OperationalError: (sqlite3.OperationalError) no such column: users.password_hash #50

Open sentry-io[bot] opened 2 months ago

sentry-io[bot] commented 2 months ago

Sentry Issue: OSD-APP-1G

OperationalError: no such column: users.password_hash
  File "sqlalchemy\engine\base.py", line 1967, in _exec_single_context
    self.dialect.do_execute(
  File "sqlalchemy\engine\default.py", line 941, in do_execute
    cursor.execute(statement, parameters)

OperationalError: (sqlite3.OperationalError) no such column: users.password_hash
[SQL: SELECT users.id AS users_id, users.name AS users_name, users.email AS users_email, users.password_hash AS users_password_hash, users.date_joined AS users_date_joined, users.api_key AS users_api_key 
FROM users 
WHERE users.name = ?
 LIMIT ? OFFSET ?]
[parameters: ('test', 1, 0)]
(Background on this error at: https://sqlalche.me/e/20/e3q8)
(13 additional frame(s) were not displayed)
...
  File "C:\Users\prest\OneDrive - John Septimus Roe Anglican Community School\Documents\Software Engineering\Python\WorkSpace\osd\src\app\website\routes\sign_up_page\sign_up_page.py", line 28, in signup
    if User.query.filter_by(name=username).first():

This issue was automatically created by Sentry via Send a notification for new issues