PATCH: Fix to Database Changes

This commit is contained in:
Chris-1010
2025-01-28 15:14:33 +00:00
parent 13d7351588
commit 25235c5c26
7 changed files with 56 additions and 62 deletions

View File

@@ -78,13 +78,15 @@ def signup():
# Create new user once input is validated
cursor.execute(
"""INSERT INTO users
(username, password, email, num_followers, bio)
VALUES (?, ?, ?, ?, ?)""",
(username, password, email, num_followers, stream_key, is_partnered, bio)
VALUES (?, ?, ?, ?, ?, ?, ?)""",
(
username,
generate_password_hash(password),
email,
0,
'1',
0,
"This user does not have a Bio."
)
)