feat: web UI chat render, panels, presence + analytics
This commit is contained in:
@@ -477,3 +477,18 @@ class Alert(SQLModel, table=True):
|
||||
DateTime(timezone=True), nullable=False, server_default=func.now()
|
||||
)
|
||||
)
|
||||
|
||||
|
||||
class Dialog(SQLModel, table=True):
|
||||
__tablename__ = "dialogs"
|
||||
|
||||
account_id: int = Field(primary_key=True)
|
||||
chat_id: int = Field(primary_key=True)
|
||||
updated_at: datetime = Field(
|
||||
sa_column=Column(
|
||||
DateTime(timezone=True),
|
||||
nullable=False,
|
||||
server_default=func.now(),
|
||||
onupdate=func.now(),
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user