81 lines
1.3 KiB
JSON
81 lines
1.3 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "game_result",
|
|
"title": "game_result",
|
|
"primary": [
|
|
"id"
|
|
]
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "结果ID",
|
|
"type": "str",
|
|
"length": 255,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "session_id",
|
|
"title": "会话ID",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "用户ID",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "game_id",
|
|
"title": "游戏标识",
|
|
"type": "str",
|
|
"length": 255
|
|
},
|
|
{
|
|
"name": "score",
|
|
"title": "结算得分",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "duration_ms",
|
|
"title": "游戏时长毫秒",
|
|
"type": "long"
|
|
},
|
|
{
|
|
"name": "level",
|
|
"title": "结束关卡",
|
|
"type": "int"
|
|
},
|
|
{
|
|
"name": "result_json",
|
|
"title": "结果详情JSON",
|
|
"type": "text"
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "结算时间",
|
|
"type": "datetime"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "idx_session",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"session_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_user_game",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"user_id",
|
|
"game_id"
|
|
]
|
|
}
|
|
],
|
|
"codes": []
|
|
} |