Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Mailing</base> | |
5 | <class>Recipients</class> | |
6 | <name>civicrm_mailing_recipients</name> | |
7 | <comment>Stores information about the recipients of a mailing.</comment> | |
8 | <archive>true</archive> | |
d31fb4e3 | 9 | <component>CiviMail</component> |
57dc49bc TO |
10 | <title>Recipient</title> |
11 | <titlePlural>Recipients</titlePlural> | |
6a488035 | 12 | <field> |
5435b737 | 13 | <name>id</name> |
0d94665e | 14 | <title>Mailing Recipients ID</title> |
5435b737 EM |
15 | <type>int unsigned</type> |
16 | <required>true</required> | |
0481e12c A |
17 | <html> |
18 | <type>Number</type> | |
19 | </html> | |
6a488035 TO |
20 | </field> |
21 | <primaryKey> | |
5435b737 EM |
22 | <name>id</name> |
23 | <autoincrement>true</autoincrement> | |
6a488035 TO |
24 | </primaryKey> |
25 | <field> | |
5435b737 | 26 | <name>mailing_id</name> |
57e94608 | 27 | <title>Mailing ID</title> |
5435b737 EM |
28 | <type>int unsigned</type> |
29 | <required>true</required> | |
57e94608 A |
30 | <html> |
31 | <label>Mailing</label> | |
32 | </html> | |
5435b737 | 33 | <comment>The ID of the mailing this Job will send.</comment> |
6a488035 TO |
34 | </field> |
35 | <foreignKey> | |
5435b737 EM |
36 | <name>mailing_id</name> |
37 | <table>civicrm_mailing</table> | |
38 | <key>id</key> | |
39 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
40 | </foreignKey> |
41 | <field> | |
5435b737 | 42 | <name>contact_id</name> |
047c5009 | 43 | <title>Recipient ID</title> |
5435b737 EM |
44 | <type>int unsigned</type> |
45 | <required>true</required> | |
46 | <comment>FK to Contact</comment> | |
57e94608 | 47 | <html> |
047c5009 | 48 | <label>Recipient</label> |
57e94608 | 49 | </html> |
6a488035 TO |
50 | </field> |
51 | <foreignKey> | |
5435b737 EM |
52 | <name>contact_id</name> |
53 | <table>civicrm_contact</table> | |
54 | <key>id</key> | |
55 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
56 | </foreignKey> |
57 | <field> | |
5435b737 | 58 | <name>email_id</name> |
047c5009 | 59 | <title>Email ID</title> |
5435b737 EM |
60 | <type>int unsigned</type> |
61 | <default>NULL</default> | |
62 | <comment>FK to Email</comment> | |
57e94608 | 63 | <html> |
047c5009 | 64 | <label>Email</label> |
57e94608 | 65 | </html> |
6a488035 TO |
66 | </field> |
67 | <foreignKey> | |
5435b737 EM |
68 | <name>email_id</name> |
69 | <table>civicrm_email</table> | |
70 | <key>id</key> | |
d2c742e9 | 71 | <onDelete>SET NULL</onDelete> |
6a488035 TO |
72 | </foreignKey> |
73 | <field> | |
5435b737 | 74 | <name>phone_id</name> |
047c5009 | 75 | <title>Phone ID</title> |
5435b737 EM |
76 | <type>int unsigned</type> |
77 | <default>NULL</default> | |
78 | <comment>FK to Phone</comment> | |
57e94608 | 79 | <html> |
047c5009 | 80 | <label>Phone</label> |
57e94608 | 81 | </html> |
6a488035 TO |
82 | </field> |
83 | <foreignKey> | |
5435b737 EM |
84 | <name>phone_id</name> |
85 | <table>civicrm_phone</table> | |
86 | <key>id</key> | |
d2c742e9 | 87 | <onDelete>SET NULL</onDelete> |
6a488035 TO |
88 | </foreignKey> |
89 | </table> |