Admin fixes, minio texts removed, added is_active to User model
This commit is contained in:
@@ -65,6 +65,7 @@ class User(SQLModel, table=True):
|
||||
created_at: datetime = Field(default_factory=datetime.utcnow)
|
||||
last_active: datetime = Field(default_factory=datetime.utcnow)
|
||||
active_session_token: Optional[str] = None
|
||||
is_active: bool = Field(default=True)
|
||||
|
||||
class Parent(SQLModel, table=True):
|
||||
id: UUID = Field(default_factory=uuid4, primary_key=True)
|
||||
|
||||
Reference in New Issue
Block a user