chore(models): git rm sd_conversations.json——死表定义删除(08-01后零写,回放已走pipeline_conversations;DROP见pipeline-app m0027,批评会决议)
This commit is contained in:
parent
f179a12d23
commit
4e2a10a84b
@ -1,31 +0,0 @@
|
|||||||
{
|
|
||||||
"summary": [
|
|
||||||
{
|
|
||||||
"name": "sd_conversations",
|
|
||||||
"title": "开发产线对话记录表",
|
|
||||||
"primary": ["id"],
|
|
||||||
"catelog": "entity"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"fields": [
|
|
||||||
{"name": "id", "title": "主键ID", "type": "str", "length": 32, "nullable": "no"},
|
|
||||||
{"name": "iteration_id", "title": "迭代ID", "type": "str", "length": 32, "nullable": "no"},
|
|
||||||
{"name": "task_id", "title": "Pipeline任务ID", "type": "str", "length": 32},
|
|
||||||
{"name": "step_name", "title": "关联步骤名", "type": "str", "length": 100},
|
|
||||||
{"name": "role", "title": "角色", "type": "str", "length": 20, "nullable": "no", "default": "'user'"},
|
|
||||||
{"name": "content", "title": "消息正文", "type": "text"},
|
|
||||||
{"name": "attachments", "title": "附件列表JSON", "type": "text"},
|
|
||||||
{"name": "msg_type", "title": "消息类型", "type": "str", "length": 20, "nullable": "no", "default": "'text'"},
|
|
||||||
{"name": "org_id", "title": "组织ID", "type": "str", "length": 32, "nullable": "no", "default": "'0'"},
|
|
||||||
{"name": "created_by", "title": "创建人", "type": "str", "length": 32},
|
|
||||||
{"name": "created_at", "title": "创建时间", "type": "timestamp", "nullable": "no"}
|
|
||||||
],
|
|
||||||
"indexes": [
|
|
||||||
{"name": "idx_sd_conv_iteration", "idxtype": "index", "idxfields": ["iteration_id"]},
|
|
||||||
{"name": "idx_sd_conv_task", "idxtype": "index", "idxfields": ["task_id"]},
|
|
||||||
{"name": "idx_sd_conv_created", "idxtype": "index", "idxfields": ["created_at"]}
|
|
||||||
],
|
|
||||||
"codes": [
|
|
||||||
{"field": "role", "table": "appcodes_kv", "valuefield": "k", "textfield": "v", "cond": "parentid='sd_conversation_role'"}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user