Update src/common/database/database_model.py

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
This commit is contained in:
墨梓柒
2025-05-15 10:09:18 +08:00
committed by GitHub
parent fb6094d269
commit a242a4cb7a

View File

@@ -211,7 +211,7 @@ class PersonInfo(BaseModel):
user_id = TextField(index=True) # 用户ID
nickname = TextField() # 用户昵称
relationship_value = IntegerField(default=0) # 关系值
konw_time = FloatField() # 认识时间 (时间戳)
know_time = FloatField() # 认识时间 (时间戳)
msg_interval = IntegerField() # 消息间隔
# msg_interval_list: 存储为 JSON 字符串的列表
msg_interval_list = TextField(null=True)