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

Model Proposal: User #3

Open
hasansezertasan opened this issue Feb 12, 2024 · 1 comment
Open

Model Proposal: User #3

hasansezertasan opened this issue Feb 12, 2024 · 1 comment
Assignees
Labels
model-proposal New model proposal

Comments

@hasansezertasan
Copy link
Owner

hasansezertasan commented Feb 12, 2024

Why do you need this model? What does it solve? Please describe.
Almost every application requires a user model. It's the most copied/pasted, rethought, and restructured model that ever existed.

Describe the solution you'd like
There are a lot of user authentication/authorization systems that are already used in thousands of projects. We can get inspired by looking at them.

Fields

Field Name Python Type Description Unique Required Index
username str Unique username. Yes Yes Yes
hashed_password str Hashed Password. No Yes No
email str Email Address of the user. Yes No Yes
date_email_verified datetime Date when email was verified. No No No
@hasansezertasan
Copy link
Owner Author

hasansezertasan commented Feb 12, 2024

Checkout:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
model-proposal New model proposal
Projects
Development

No branches or pull requests

1 participant