Merge pull request #19525 from eileenmcnaughton/member_soft
[civicrm-core.git] / xml / schema / Mailing / Spool.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
4 <base>CRM/Mailing</base>
5 <class>Spool</class>
6 <name>civicrm_mailing_spool</name>
7 <comment>Stores the outbond mails</comment>
8 <component>CiviMail</component>
9 <field>
10 <name>id</name>
11 <title>Spool ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <html>
15 <type>Number</type>
16 </html>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
23 <name>job_id</name>
24 <title>Job ID</title>
25 <type>int unsigned</type>
26 <required>true</required>
27 <comment>The ID of the Job .</comment>
28 <html>
29 <label>Job</label>
30 </html>
31 </field>
32 <foreignKey>
33 <name>job_id</name>
34 <table>civicrm_mailing_job</table>
35 <key>id</key>
36 <onDelete>CASCADE</onDelete>
37 </foreignKey>
38 <field>
39 <name>recipient_email</name>
40 <title>Recipient Email</title>
41 <type>text</type>
42 <comment>The email of the recipients this mail is to be sent.</comment>
43 </field>
44 <field>
45 <name>headers</name>
46 <title>Headers</title>
47 <type>text</type>
48 <comment>The header information of this mailing .</comment>
49 </field>
50 <field>
51 <name>body</name>
52 <title>Body</title>
53 <type>text</type>
54 <comment>The body of this mailing.</comment>
55 </field>
56 <field>
57 <name>added_at</name>
58 <title>Added</title>
59 <type>timestamp</type>
60 <required>false</required>
61 <default>NULL</default>
62 <comment>date on which this job was added.</comment>
63 </field>
64 <field>
65 <name>removed_at</name>
66 <title>Removed</title>
67 <type>timestamp</type>
68 <required>false</required>
69 <default>NULL</default>
70 <comment>date on which this job was removed.</comment>
71 </field>
72 </table>