Merge pull request #22732 from braders/ui-45-contrib-participant-links
[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 <title>Queue Item ID</title>
16 <type>int unsigned</type>
17 <required>true</required>
18 <html>
19 <type>Number</type>
20 </html>
21 </field>
22 <primaryKey>
23 <name>id</name>
24 <autoincrement>true</autoincrement>
25 </primaryKey>
26 <field>
27 <name>queue_name</name>
28 <title>Queue Name</title>
29 <type>varchar</type>
30 <length>64</length>
31 <comment>Name of the queue which includes this item</comment>
32 <!-- This SHOULD match `civicrm_queue.name`; however, historically, it has been required to create records in `civicrm_queue`. -->
33 <required>true</required>
34 <html>
35 <type>Text</type>
36 </html>
37 </field>
38 <field>
39 <name>weight</name>
40 <title>Order</title>
41 <type>int</type>
42 <required>true</required>
43 <html>
44 <type>Text</type>
45 </html>
46 </field>
47 <field>
48 <name>submit_time</name>
49 <title>Submit Time</title>
50 <type>datetime</type>
51 <comment>date on which this item was submitted to the queue</comment>
52 <required>true</required>
53 <html>
54 <type>Select Date</type>
55 <formatType>activityDateTime</formatType>
56 </html>
57 </field>
58 <field>
59 <name>release_time</name>
60 <title>Release Time</title>
61 <type>datetime</type>
62 <comment>date on which this job becomes available; null if ASAP</comment>
63 <html>
64 <type>Select Date</type>
65 <formatType>activityDateTime</formatType>
66 </html>
67 </field>
68
69 <field>
70 <name>data</name>
71 <title>Queue item data</title>
72 <type>longtext</type>
73 <comment>Serialized queue data</comment>
74 <serialize>PHP</serialize>
75 </field>
76 <index>
77 <name>index_queueids</name>
78 <fieldName>queue_name</fieldName>
79 <fieldName>weight</fieldName>
80 <fieldName>id</fieldName>
81 </index>
82 </table>