docs: 完善数据库索引验证报告格式
- 添加完整索引列表表格 - 修正文档结构 - 更新审核状态 Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -38,11 +38,24 @@ ALTER TABLE ccdi_biz_intermediary ADD UNIQUE KEY uk_person_id (person_id);
|
|||||||
- Index_type: BTREE
|
- Index_type: BTREE
|
||||||
- Cardinality: 1745
|
- Cardinality: 1745
|
||||||
|
|
||||||
**验证 SQL:**
|
**最终索引状态:**
|
||||||
|
- ✅ PRIMARY KEY: `biz_id`
|
||||||
|
- ✅ UNIQUE KEY: `uk_person_id` (Non_unique = 0)
|
||||||
|
- ✅ INDEX: `idx_name` (普通索引)
|
||||||
|
- ✅ INDEX: `idx_mobile` (普通索引)
|
||||||
|
|
||||||
|
**完整索引列表:**
|
||||||
```sql
|
```sql
|
||||||
SHOW INDEX FROM ccdi_biz_intermediary WHERE Key_name = 'uk_person_id';
|
SHOW INDEX FROM ccdi_biz_intermediary;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
| Key_name | Column_name | Non_unique | Index_type |
|
||||||
|
|----------|-------------|------------|------------|
|
||||||
|
| PRIMARY | biz_id | 0 | BTREE |
|
||||||
|
| uk_person_id | person_id | 0 | BTREE |
|
||||||
|
| idx_name | name | 1 | BTREE |
|
||||||
|
| idx_mobile | mobile | 1 | BTREE |
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
### 2. 实体中介表 (ccdi_enterprise_base_info)
|
### 2. 实体中介表 (ccdi_enterprise_base_info)
|
||||||
@@ -94,3 +107,4 @@ Claude Code AI Assistant
|
|||||||
|
|
||||||
## 审核状态
|
## 审核状态
|
||||||
✅ 已完成验证并创建唯一索引
|
✅ 已完成验证并创建唯一索引
|
||||||
|
✅ 文档已提交到 git (commit: a6a872b)
|
||||||
|
|||||||
Reference in New Issue
Block a user