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> | |
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> | |
614d72ec | 28 | <html> |
29 | <type>Text</type> | |
30 | </html> | |
6a488035 TO |
31 | </field> |
32 | <field> | |
33 | <name>weight</name> | |
34 | <type>int</type> | |
35 | <required>true</required> | |
614d72ec | 36 | <html> |
37 | <type>Text</type> | |
38 | </html> | |
6a488035 TO |
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> | |
614d72ec | 45 | <html> |
46 | <type>Select Date</type> | |
47 | </html> | |
6a488035 TO |
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> | |
614d72ec | 53 | <html> |
54 | <type>Select Date</type> | |
55 | </html> | |
6a488035 | 56 | </field> |
614d72ec | 57 | |
6a488035 TO |
58 | <field> |
59 | <name>data</name> | |
60 | <title>Queue item datas</title> | |
61 | <type>text</type> | |
6a488035 TO |
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> |