fix: rename index field key from fields to idxfields
This commit is contained in:
parent
65a4b5cee5
commit
a065172c46
@ -59,33 +59,37 @@
|
||||
"indexes": [
|
||||
{
|
||||
"name": "idx_instance_workflow",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"workflow_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_instance_business",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"comment": "复合索引:按业务类型和记录查询",
|
||||
"idxfields": [
|
||||
"business_type",
|
||||
"business_id"
|
||||
],
|
||||
"type": "normal",
|
||||
"comment": "复合索引:按业务类型和记录查询"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_instance_status",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"status"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_instance_initiator",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"initiator_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
}
|
||||
],
|
||||
"codes": [
|
||||
|
||||
@ -49,19 +49,21 @@
|
||||
"indexes": [
|
||||
{
|
||||
"name": "idx_step_workflow",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"workflow_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_step_order",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"comment": "复合索引:按工作流和顺序查询",
|
||||
"idxfields": [
|
||||
"workflow_id",
|
||||
"step_number"
|
||||
],
|
||||
"type": "normal",
|
||||
"comment": "复合索引:按工作流和顺序查询"
|
||||
"idxtype": "index"
|
||||
}
|
||||
],
|
||||
"codes": [
|
||||
|
||||
@ -53,24 +53,27 @@
|
||||
"indexes": [
|
||||
{
|
||||
"name": "idx_task_instance",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"instance_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_task_assignee",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"assignee_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_task_status",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"status"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
}
|
||||
],
|
||||
"codes": [
|
||||
|
||||
@ -54,24 +54,27 @@
|
||||
"indexes": [
|
||||
{
|
||||
"name": "idx_workflow_module",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"module"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_workflow_org",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"org_id"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
},
|
||||
{
|
||||
"name": "idx_workflow_status",
|
||||
"fields": [
|
||||
"type": "normal",
|
||||
"idxfields": [
|
||||
"status"
|
||||
],
|
||||
"type": "normal"
|
||||
"idxtype": "index"
|
||||
}
|
||||
],
|
||||
"codes": [
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user