Add user creation
This commit is contained in:
parent
58382df49d
commit
97afe5447a
3 changed files with 29 additions and 3 deletions
|
|
@ -9,5 +9,9 @@ class User(SQLModel, table=True):
|
|||
authority: int
|
||||
|
||||
|
||||
class UserIn(User):
|
||||
password: str
|
||||
|
||||
|
||||
class UserInDB(User):
|
||||
hashed_password: str
|
||||
|
|
|
|||
Loading…
Reference in a new issue