Commit 1661bb6a authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add a new column "retry" into the message table.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@4222 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 780c29c7
......@@ -20,6 +20,7 @@ CREATE TABLE `message` (
`broadcast` TINYINT DEFAULT 0,
`group_method_id` VARCHAR(255) DEFAULT '',
`tag` VARCHAR(255),
`retry` TINYINT UNSIGNED NOT NULL DEFAULT 0,
`message` BLOB,
PRIMARY KEY (`uid`),
KEY `date` (`date`),
......
......@@ -9,13 +9,17 @@ class_file:
</dtml-comment>
<params>uid:list
priority
date</params>
date
retry</params>
UPDATE
message
SET
priority = <dtml-sqlvar priority type="int">,
processing = 0,
date = <dtml-sqlvar date type="datetime">
<dtml-if retry>
, retry = <dtml-sqlvar retry type="int">
</dtml-if>
WHERE
<dtml-in uid>uid = <dtml-sqlvar sequence-item type="int"><dtml-if sequence-end><dtml-else>
OR </dtml-if></dtml-in>
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