Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move email column from personal_info to user table [BE] #191

Closed
ssihala opened this issue Feb 5, 2025 · 0 comments · Fixed by #256
Closed

Move email column from personal_info to user table [BE] #191

ssihala opened this issue Feb 5, 2025 · 0 comments · Fixed by #256
Assignees

Comments

@ssihala
Copy link
Collaborator

ssihala commented Feb 5, 2025

To support password reset functionality, we will require users to provide an email when making an account. This needs to be stored in the user table (it is currently a column in the personal_info table)

Tasks:

  • Change the DB scheme as mentioned above
  • Adjust auth.ts: the signup and login routes need to be adjusted to account for the new email. The user will now pass username, password, and email when signing up.
  • If needed, coordinate with frontend to figure out what formData is being passed to the backend.

TEST THIS BEFORE PUSHING, DON'T BREAK ANYTHING

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants