feat(guild-model): add practical indexes for channel/dm/member queries

This commit is contained in:
nav
2026-05-12 10:21:48 +00:00
parent e53c943991
commit ceaece754e
6 changed files with 20 additions and 4 deletions

View File

@@ -41,7 +41,7 @@
### 2.1 领域模型
- [x] Guild/Channel/DM 实体补全
- [x] Member/Role 基础模型(即使 MVP 权限全开,也先留结构)
- [ ] 索引设计channel_id + seq, created_at 等)
- [x] 索引设计channel_id + seq, created_at 等)
### 2.2 消息主链路
- [ ] 发送消息content/reply/mentions/attachments 元数据)