Files
loon-backend/loon/web/users/models.py
T
ciomek f34bb39d31
Build and Push Docker Image / build-and-push (push) Successful in 14s
Unique username
2026-08-17 12:42:31 +02:00

10 lines
265 B
Python

from sqlmodel import SQLModel, Field
class User(SQLModel, table=True):
id: int = Field(default=None, primary_key=True)
uuid: str = Field(unique=True)
internal_username: str = Field(unique=True)
password: str
admin: bool = Field(default=False)