Commit 10560974 authored by Vincent Pelletier's avatar Vincent Pelletier

Add an index used when reserving message for a given node.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18424 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 606a17ff
...@@ -26,6 +26,7 @@ CREATE TABLE `message` ( ...@@ -26,6 +26,7 @@ CREATE TABLE `message` (
KEY (`path`), KEY (`path`),
KEY (`method_id`), KEY (`method_id`),
KEY `processing_node_processing` (`processing_node`, `processing`), KEY `processing_node_processing` (`processing_node`, `processing`),
KEY `processing_node_date` (`processing_node`, `date`),
KEY (`priority`), KEY (`priority`),
KEY (`tag`), KEY (`tag`),
KEY (`order_validation_text`) KEY (`order_validation_text`)
......
...@@ -23,6 +23,7 @@ CREATE TABLE `message_queue` ( ...@@ -23,6 +23,7 @@ CREATE TABLE `message_queue` (
KEY (`path`), KEY (`path`),
KEY (`method_id`), KEY (`method_id`),
KEY `processing_node_processing` (`processing_node`, `processing`), KEY `processing_node_processing` (`processing_node`, `processing`),
KEY `processing_node_date` (`processing_node`, `date`),
KEY (`priority`), KEY (`priority`),
KEY (`tag`) KEY (`tag`)
) TYPE = InnoDB; ) TYPE = InnoDB;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment