From 587763d808f638a056069017e8c629e4154700a4 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Fri, 3 Jan 2025 14:47:31 +0100 Subject: [PATCH] change type datetime --- app/models/users.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/users.py b/app/models/users.py index 9064d53..29f606a 100644 --- a/app/models/users.py +++ b/app/models/users.py @@ -11,7 +11,7 @@ class User(BaseModel): roles: str = "User" status: int = 0 email: EmailStr - birth: str | None = None + birth: datetime | None = None created_at: datetime = datetime.today() connected_at: datetime | None = None updated_at: datetime | None = None -- 2.47.1