Merge pull request #13669 from eileenmcnaughton/payment_format
[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 ID</title>
16 <type>int unsigned</type>
17 <required>true</required>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>queue_name</name>
25 <title>Queue Name</title>
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>
33 </field>
34 <field>
35 <name>weight</name>
36 <title>Order</title>
37 <type>int</type>
38 <required>true</required>
39 <html>
40 <type>Text</type>
41 </html>
42 </field>
43 <field>
44 <name>submit_time</name>
45 <title>Submit Time</title>
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>
51 </html>
52 </field>
53 <field>
54 <name>release_time</name>
55 <title>Release Time</title>
56 <type>datetime</type>
57 <comment>date on which this job becomes available; null if ASAP</comment>
58 <html>
59 <type>Select Date</type>
60 </html>
61 </field>
62
63 <field>
64 <name>data</name>
65 <title>Queue item data</title>
66 <type>text</type>
67 <comment>Serialized queue data</comment>
68 <serialize>PHP</serialize>
69 </field>
70 <index>
71 <name>index_queueids</name>
72 <fieldName>queue_name</fieldName>
73 <fieldName>weight</fieldName>
74 <fieldName>id</fieldName>
75 </index>
76 </table>