Version change in xml
[civicrm-core.git] / xml / schema / Mailing / MailingJob.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Mailing</base>
5 <class>MailingJob</class>
6 <name>civicrm_mailing_job</name>
7 <comment>Stores information about the job that executes this mailing</comment>
8 <archive>true</archive>
9 <field>
10 <name>id</name>
11 <title>Mailing JOb ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 </field>
15 <primaryKey>
16 <name>id</name>
17 <autoincrement>true</autoincrement>
18 </primaryKey>
19 <field>
20 <name>mailing_id</name>
21 <title>Mailing</title>
22 <type>int unsigned</type>
23 <required>true</required>
24 <comment>The ID of the mailing this Job will send.</comment>
25 </field>
26 <foreignKey>
27 <name>mailing_id</name>
28 <table>civicrm_mailing</table>
29 <key>id</key>
30 <onDelete>CASCADE</onDelete>
31 </foreignKey>
32 <field>
33 <name>scheduled_date</name>
34 <title>Mailing Scheduled Date</title>
35 <type>datetime</type>
36 <comment>date on which this job was scheduled.</comment>
37 </field>
38 <field>
39 <name>start_date</name>
40 <title>Mailing Job Start Date</title>
41 <type>datetime</type>
42 <comment>date on which this job was started.</comment>
43 </field>
44 <field>
45 <name>end_date</name>
46 <title>Mailing Job End Date</title>
47 <type>datetime</type>
48 <comment>date on which this job ended.</comment>
49 </field>
50 <field>
51 <name>status</name>
52 <title>Mailing Job Status</title>
53 <type>varchar</type>
54 <length>12</length>
55 <comment>The state of this job</comment>
56 <pseudoconstant>
57 <callback>CRM_Core_SelectValues::getMailingJobStatus</callback>
58 </pseudoconstant>
59 <html>
60 <type>Select</type>
61 </html>
62 </field>
63 <field>
64 <name>is_test</name>
65 <title>Mailing Job Is Test?</title>
66 <type>boolean</type>
67 <default>0</default>
68 <comment>Is this job for a test mail?</comment>
69 <add>1.9</add>
70 </field>
71 <field>
72 <name>job_type</name>
73 <title>Mailing Job Type</title>
74 <type>varchar</type>
75 <length>255</length>
76 <comment>Type of mailling job: null | child </comment>
77 <add>3.3</add>
78 </field>
79 <field>
80 <name>parent_id</name>
81 <title>Mailing Job Parent</title>
82 <type>int unsigned</type>
83 <comment>Parent job id</comment>
84 <default>NULL</default>
85 <add>3.3</add>
86 </field>
87 <foreignKey>
88 <name>parent_id</name>
89 <table>civicrm_mailing_job</table>
90 <key>id</key>
91 <onDelete>CASCADE</onDelete>
92 </foreignKey>
93 <field>
94 <name>job_offset</name>
95 <title>Mailing Job Offset</title>
96 <type>int</type>
97 <comment>Offset of the child job</comment>
98 <default>0</default>
99 <add>3.3</add>
100 </field>
101 <field>
102 <name>job_limit</name>
103 <title>Mailing Job Limit</title>
104 <type>int</type>
105 <comment>Queue size limit for each child job</comment>
106 <default>0</default>
107 <add>3.3</add>
108 </field>
109 </table>