Handling users through the DB users table#52
Open
vporton wants to merge 10 commits into
Open
Conversation
Contributor
Author
|
Currently, it does not work (Python exceptions). |
Contributor
Author
|
To be honest, I am a little confused how to rewrite this. I will concentrate on this PR. |
Contributor
Author
|
It seems that I've finished this PR. It was preliminarily tested and I'd vote to merge it. |
users table createdusers table
apssouza22
approved these changes
Oct 13, 2023
Owner
apssouza22
left a comment
There was a problem hiding this comment.
Looks good. I will test it this weekend.
Thx @vporton
Owner
|
After logged in and try to use the UI I got an error. |
Contributor
Author
Fixed. |
This was referenced Oct 16, 2023
Open
Owner
|
@vporton I will test it and merge if it is working fine |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

I changed the DB schema to store users in DB:
userstable created.I use now
user_ref(int) instead ofuser_id(VARCHAR) to refer to a user.In
UserInputDtoI usepkto refer to the user instead of, as before, his/her email.I did basic testing and it appears to work, more testing is however needed.
Fixes #6.