CRM-13497 - Additional xml updates
[civicrm-core.git] / xml / schema / Queue / QueueItem.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <!--
5 NOTE: To facilitate upgrades, manually copy the CREATE TABLE statement
6 from sql/civicrm.mysql to sql/civicrm_queue_item.mysql
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>
14 <name>id</name>
15 <type>int unsigned</type>
16 <required>true</required>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
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>
31 </field>
32 <field>
33 <name>weight</name>
34 <type>int</type>
35 <required>true</required>
36 <html>
37 <type>Text</type>
38 </html>
39 </field>
40 <field>
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>
47 </html>
48 </field>
49 <field>
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>
55 </html>
56 </field>
57
58 <field>
59 <name>data</name>
60 <title>Queue item datas</title>
61 <type>text</type>
62 <comment>Serialized queue</comment>
63 </field>
64 <index>
65 <name>index_queueids</name>
66 <fieldName>queue_name</fieldName>
67 <fieldName>weight</fieldName>
68 <fieldName>id</fieldName>
69 </index>
70 </table>