Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Mailing/Event</base> | |
5 | <class>Forward</class> | |
6 | <name>civicrm_mailing_event_forward</name> | |
7 | <comment>Tracks when a contact forwards a mailing to a (new) contact</comment> | |
8 | <archive>true</archive> | |
9 | <field> | |
10 | <name>id</name> | |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | </field> | |
14 | <primaryKey> | |
15 | <name>id</name> | |
16 | <autoincrement>true</autoincrement> | |
17 | </primaryKey> | |
18 | <field> | |
19 | <name>event_queue_id</name> | |
20 | <type>int unsigned</type> | |
21 | <required>true</required> | |
22 | <comment>FK to EventQueue</comment> | |
23 | </field> | |
24 | <foreignKey> | |
25 | <name>event_queue_id</name> | |
26 | <table>civicrm_mailing_event_queue</table> | |
27 | <key>id</key> | |
28 | <onDelete>CASCADE</onDelete> | |
29 | </foreignKey> | |
30 | <field> | |
31 | <name>dest_queue_id</name> | |
32 | <type>int unsigned</type> | |
33 | <comment>FK to EventQueue for destination</comment> | |
34 | </field> | |
35 | <foreignKey> | |
36 | <name>dest_queue_id</name> | |
37 | <table>civicrm_mailing_event_queue</table> | |
38 | <key>id</key> | |
011aeb62 | 39 | <onDelete>SET NULL</onDelete> |
6a488035 TO |
40 | </foreignKey> |
41 | <field> | |
42 | <name>time_stamp</name> | |
43 | <type>datetime</type> | |
44 | <required>true</required> | |
45 | <comment>When this forward event occurred.</comment> | |
46 | </field> | |
47 | </table> |