Add comments

This commit is contained in:
2026-05-03 09:14:27 +05:45
parent ebb12e6ab7
commit 0f41a95a70
2 changed files with 27 additions and 4 deletions
+1
View File
@@ -16,6 +16,7 @@ from .routes import routers, docs
@asynccontextmanager
async def init_db(app: FastAPI):
#Create a admin user and password at the beggining
with Session(engine) as session:
from sqlalchemy import select, insert
user = session.execute(select(Users).where(Users.username == settings.FIRST_SUPERUSER)).first()