feat: modify chat

This commit is contained in:
ulleo
2025-06-25 16:02:14 +08:00
parent 72b6e117c8
commit 7fa845019c
3 changed files with 35 additions and 2 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ class Chat(SQLModel, table=True):
create_by: int = Field(sa_column=Column(BigInteger, nullable=True))
brief: str = Field(max_length=64, nullable=True)
chat_type: str = Field(max_length=20, default="chat") # chat, datasource
datasource: int = Field(sa_column=Column(Integer, nullable=False))
datasource: int = Field(sa_column=Column(Integer, nullable=True))
engine_type: str = Field(max_length=64)