-
Notifications
You must be signed in to change notification settings - Fork 27
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
Handling users through the DB users
table
#52
base: main
Are you sure you want to change the base?
Conversation
Currently, it does not work (Python exceptions). |
To be honest, I am a little confused how to rewrite this. I will concentrate on this PR. |
It seems that I've finished this PR. It was preliminarily tested and I'd vote to merge it. |
users
table createdusers
table
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. I will test it this weekend.
Thx @vporton
After logged in and try to use the UI I got an error.
|
Fixed. |
@vporton I will test it and merge if it is working fine |
I changed the DB schema to store users in DB:
users
table created.I use now
user_ref
(int
) instead ofuser_id
(VARCHAR
) to refer to a user.In
UserInputDto
I usepk
to 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.