81 lines
1.4 KiB
JSON
81 lines
1.4 KiB
JSON
{
|
|
"summary": [
|
|
{
|
|
"name": "pipeline_session_settings",
|
|
"title": "会话设置",
|
|
"primary": [
|
|
"id"
|
|
],
|
|
"catelog": "entity"
|
|
}
|
|
],
|
|
"fields": [
|
|
{
|
|
"name": "id",
|
|
"title": "主键ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "session_id",
|
|
"title": "会话ID",
|
|
"type": "str",
|
|
"length": 64,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "user_id",
|
|
"title": "用户ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "current_project_id",
|
|
"title": "当前项目ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "current_iteration_id",
|
|
"title": "当前迭代ID",
|
|
"type": "str",
|
|
"length": 32,
|
|
"nullable": "no",
|
|
"default": ""
|
|
},
|
|
{
|
|
"name": "created_at",
|
|
"title": "创建时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
},
|
|
{
|
|
"name": "updated_at",
|
|
"title": "更新时间",
|
|
"type": "timestamp",
|
|
"nullable": "no"
|
|
}
|
|
],
|
|
"indexes": [
|
|
{
|
|
"name": "uk_user_session",
|
|
"idxtype": "unique",
|
|
"idxfields": [
|
|
"user_id",
|
|
"session_id"
|
|
]
|
|
},
|
|
{
|
|
"name": "idx_session",
|
|
"idxtype": "index",
|
|
"idxfields": [
|
|
"session_id"
|
|
]
|
|
}
|
|
]
|
|
}
|