Commit | Line | Data |
---|---|---|
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> | |
614d72ec | 51 | </html> |
6a488035 TO |
52 | </field> |
53 | <field> | |
8f069c03 | 54 | <name>release_time</name> |
f3ea5182 | 55 | <title>Release Time</title> |
8f069c03 EM |
56 | <type>datetime</type> |
57 | <comment>date on which this job becomes available; null if ASAP</comment> | |
58 | <html> | |
59 | <type>Select Date</type> | |
614d72ec | 60 | </html> |
6a488035 | 61 | </field> |
8f069c03 | 62 | |
6a488035 | 63 | <field> |
8f069c03 EM |
64 | <name>data</name> |
65 | <title>Queue item datas</title> | |
66 | <type>text</type> | |
67 | <comment>Serialized queue</comment> | |
6a488035 TO |
68 | </field> |
69 | <index> | |
8f069c03 EM |
70 | <name>index_queueids</name> |
71 | <fieldName>queue_name</fieldName> | |
72 | <fieldName>weight</fieldName> | |
73 | <fieldName>id</fieldName> | |
6a488035 TO |
74 | </index> |
75 | </table> |