Merge remote-tracking branch 'upstream/4.4' into 4.4-4.5-2014-09-29-14-51-22
[civicrm-core.git] / xml / schema / Queue / QueueItem.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
3c7d2158 4 <!--
6a488035 5 NOTE: To facilitate upgrades, manually copy the CREATE TABLE statement
3c7d2158 6 from sql/civicrm.mysql to sql/civicrm_queue_item.mysql
6a488035
TO
7 -->
8 <base>CRM/Queue</base>
9 <class>QueueItem</class>
10 <name>civicrm_queue_item</name>
11 <comment>Stores a list of queue items</comment>
12 <add>4.2</add>
13 <field>
8f069c03
EM
14 <name>id</name>
15 <type>int unsigned</type>
16 <required>true</required>
6a488035
TO
17 </field>
18 <primaryKey>
8f069c03
EM
19 <name>id</name>
20 <autoincrement>true</autoincrement>
6a488035
TO
21 </primaryKey>
22 <field>
8f069c03
EM
23 <name>queue_name</name>
24 <type>varchar</type>
25 <length>64</length>
26 <comment>Name of the queue which includes this item</comment>
27 <required>true</required>
28 <html>
29 <type>Text</type>
30 </html>
6a488035
TO
31 </field>
32 <field>
8f069c03
EM
33 <name>weight</name>
34 <type>int</type>
35 <required>true</required>
36 <html>
37 <type>Text</type>
38 </html>
6a488035
TO
39 </field>
40 <field>
8f069c03
EM
41 <name>submit_time</name>
42 <type>datetime</type>
43 <comment>date on which this item was submitted to the queue</comment>
44 <required>true</required>
45 <html>
46 <type>Select Date</type>
614d72ec 47 </html>
6a488035
TO
48 </field>
49 <field>
8f069c03
EM
50 <name>release_time</name>
51 <type>datetime</type>
52 <comment>date on which this job becomes available; null if ASAP</comment>
53 <html>
54 <type>Select Date</type>
614d72ec 55 </html>
6a488035 56 </field>
8f069c03 57
6a488035 58 <field>
8f069c03
EM
59 <name>data</name>
60 <title>Queue item datas</title>
61 <type>text</type>
62 <comment>Serialized queue</comment>
6a488035
TO
63 </field>
64 <index>
8f069c03
EM
65 <name>index_queueids</name>
66 <fieldName>queue_name</fieldName>
67 <fieldName>weight</fieldName>
68 <fieldName>id</fieldName>
6a488035
TO
69 </index>
70</table>