数据库改GORM 操作

This commit is contained in:
2026-06-03 15:33:56 +08:00
parent 8c1e1ef414
commit f0d6c5a96a
5 changed files with 243 additions and 352 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ meshtastic:
## 数据库持久化
程序默认启用 SQLite,并持久化以下数据:
程序默认启用 SQLite数据库表迁移和操作由 GORM 执行,并持久化以下数据:
- `nodeinfo_map`:融合 `type == "nodeinfo"``type == "map_report"` 的节点信息
- `text_message`:追加保存 `type == "text_message"` 的聊天消息