vala-component-oops-stat.xi.../references/table_schema.md

27 lines
1.2 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 相关数据表结构说明
## bi_user_component_play_record_* 分表(组件练习记录表)
| 字段名 | 类型 | 说明 |
|-------|------|------|
| user_id | bigint | 角色ID关联bi_vala_app_character.id |
| component_unique_code | varchar | 组件唯一编码,业务系统中组件的唯一标识 |
| play_result | varchar | 练习结果Perfect/Good/Oops/Opps/pass |
| c_type | varchar | 组件类型包含core_前缀为核心题型scence_前缀为场景题型 |
| created_at | timestamp | 练习时间 |
| level | varchar | 难度等级A1(L1)/A2(L2) |
| deleted_at | timestamp | 删除时间,为空表示记录有效 |
## bi_vala_app_character角色表
| 字段名 | 类型 | 说明 |
|-------|------|------|
| id | bigint | 角色ID |
| account_id | bigint | 账号ID关联bi_vala_app_account.id |
| deleted_at | timestamp | 删除时间,为空表示记录有效 |
## bi_vala_app_account账号表
| 字段名 | 类型 | 说明 |
|-------|------|------|
| id | bigint | 账号ID |
| status | int | 账号状态1=正常用户,其他=测试账号/禁用账号 |
| deleted_at | timestamp | 删除时间,为空表示记录有效 |