Merge pull request #18930 from MegaphoneJon/financial-156
[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 14 <name>id</name>
f3ea5182 15 <title>Queue ID</title>
8f069c03
EM
16 <type>int unsigned</type>
17 <required>true</required>
6a488035
TO
18 </field>
19 <primaryKey>
8f069c03
EM
20 <name>id</name>
21 <autoincrement>true</autoincrement>
6a488035
TO
22 </primaryKey>
23 <field>
8f069c03 24 <name>queue_name</name>
f3ea5182 25 <title>Queue Name</title>
8f069c03
EM
26 <type>varchar</type>
27 <length>64</length>
28 <comment>Name of the queue which includes this item</comment>
29 <required>true</required>
30 <html>
31 <type>Text</type>
32 </html>
6a488035
TO
33 </field>
34 <field>
8f069c03 35 <name>weight</name>
7ecddde4 36 <title>Order</title>
8f069c03
EM
37 <type>int</type>
38 <required>true</required>
39 <html>
40 <type>Text</type>
41 </html>
6a488035
TO
42 </field>
43 <field>
8f069c03 44 <name>submit_time</name>
f3ea5182 45 <title>Submit Time</title>
8f069c03
EM
46 <type>datetime</type>
47 <comment>date on which this item was submitted to the queue</comment>
48 <required>true</required>
49 <html>
50 <type>Select Date</type>
efcda6b9 51 <formatType>activityDateTime</formatType>
614d72ec 52 </html>
6a488035
TO
53 </field>
54 <field>
8f069c03 55 <name>release_time</name>
f3ea5182 56 <title>Release Time</title>
8f069c03
EM
57 <type>datetime</type>
58 <comment>date on which this job becomes available; null if ASAP</comment>
59 <html>
60 <type>Select Date</type>
efcda6b9 61 <formatType>activityDateTime</formatType>
614d72ec 62 </html>
6a488035 63 </field>
8f069c03 64
6a488035 65 <field>
8f069c03 66 <name>data</name>
2a5c9b4d 67 <title>Queue item data</title>
8f069c03 68 <type>text</type>
2a5c9b4d
CW
69 <comment>Serialized queue data</comment>
70 <serialize>PHP</serialize>
6a488035
TO
71 </field>
72 <index>
8f069c03
EM
73 <name>index_queueids</name>
74 <fieldName>queue_name</fieldName>
75 <fieldName>weight</fieldName>
76 <fieldName>id</fieldName>
6a488035
TO
77 </index>
78</table>