diff --git a/product/CMFActivity/skins/activity/SQLDict_createMessageTable.zsql b/product/CMFActivity/skins/activity/SQLDict_createMessageTable.zsql index 3f65cb8129ab6f436b323557443904b736432725..cceab7fb628ee17265250d0fdd462e41fc9f2475 100644 --- a/product/CMFActivity/skins/activity/SQLDict_createMessageTable.zsql +++ b/product/CMFActivity/skins/activity/SQLDict_createMessageTable.zsql @@ -30,6 +30,7 @@ CREATE TABLE `message` ( KEY (`method_id`), KEY `processing_node_processing` (`processing_node`, `processing`), KEY `processing_node_priority_date` (`processing_node`, `priority`, `date`), + KEY `node_group_priority_date` (`processing_node`, `group_method_id`, `priority`, `date`), KEY `serialization_tag_processing_node` (`serialization_tag`, `processing_node`), KEY (`priority`), KEY (`tag`), diff --git a/product/CMFActivity/skins/activity/SQLQueue_createMessageTable.zsql b/product/CMFActivity/skins/activity/SQLQueue_createMessageTable.zsql index c359f767809a3646c4b76abd4726cfe57debe3d5..09e733bdc57af076b0cd5cfccdf45ad1cf502f9f 100644 --- a/product/CMFActivity/skins/activity/SQLQueue_createMessageTable.zsql +++ b/product/CMFActivity/skins/activity/SQLQueue_createMessageTable.zsql @@ -29,6 +29,7 @@ CREATE TABLE `message_queue` ( KEY (`method_id`), KEY `processing_node_processing` (`processing_node`, `processing`), KEY `processing_node_priority_date` (`processing_node`, `priority`, `date`), + KEY `node_group_priority_date` (`processing_node`, `group_method_id`, `priority`, `date`), KEY `serialization_tag_processing_node` (`serialization_tag`, `processing_node`), KEY (`priority`), KEY (`tag`)