add auth
This commit is contained in:
6
server/src/app/models/user.py
Normal file
6
server/src/app/models/user.py
Normal file
@@ -0,0 +1,6 @@
|
||||
from sqlmodel import Field, SQLModel, Relationship
|
||||
|
||||
class User(SQLModel, table=True):
|
||||
id: int | None = Field(default=None, primary_key=True)
|
||||
username: str
|
||||
hashed_password: str
|
||||
Reference in New Issue
Block a user