add homekeeper stack
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from sqlmodel import Field, SQLModel
|
||||
|
||||
|
||||
class User(SQLModel, table=True):
|
||||
__tablename__ = "users"
|
||||
__table_args__ = {"schema": "auth"}
|
||||
|
||||
id: int | None = Field(default=None, primary_key=True)
|
||||
username: str = Field(unique=True, index=True)
|
||||
hashed_password: str
|
||||
Reference in New Issue
Block a user