Commit 921e598b authored by Vincent Pelletier's avatar Vincent Pelletier

Remove unneeded differences sompared to SQLDict_createMessageTable:

 - uppercase type definition
 - explicit [NOT] NULL column type definition
 - shorten INT types when possible
 - remove index names
 - remove extra space
 - removed unused indexes on date and processing_date


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18422 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9c7ec24c
...@@ -9,22 +9,20 @@ class_file: ...@@ -9,22 +9,20 @@ class_file:
</dtml-comment> </dtml-comment>
<params></params> <params></params>
CREATE TABLE `message_queue` ( CREATE TABLE `message_queue` (
`uid` int(11) NOT NULL, `uid` INT UNSIGNED NOT NULL,
`date` datetime, `date` DATETIME NOT NULL,
`path` VARCHAR(255), `path` VARCHAR(255) NOT NULL,
`method_id` VARCHAR(255), `method_id` VARCHAR(255) NOT NULL,
`processing_node` INT DEFAULT -1, `processing_node` SMALLINT NOT NULL DEFAULT -1,
`processing` INT DEFAULT 0, `processing` TINYINT NOT NULL DEFAULT 0,
`processing_date` datetime, `processing_date` DATETIME,
`priority` INT DEFAULT 0, `priority` TINYINT NOT NULL DEFAULT 0,
`tag` VARCHAR(255), `tag` VARCHAR(255) NOT NULL,
`message` LONGBLOB, `message` LONGBLOB NOT NULL,
PRIMARY KEY (`uid`), PRIMARY KEY (`uid`),
KEY `date` (`date`), KEY (`path`),
KEY `path` (`path`), KEY (`method_id`),
KEY `method_id` (`method_id`),
KEY `processing_node_processing` (`processing_node`, `processing`), KEY `processing_node_processing` (`processing_node`, `processing`),
KEY `processing_date` (`processing_date`), KEY (`priority`),
KEY `priority` (`priority`), KEY (`tag`)
KEY `tag` (`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