Annotate DAO files with COMPONENT, exclude disabled components' entities from APIv4...
[civicrm-core.git] / xml / schema / Mailing / Event / Reply.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
5435b737
EM
4 <base>CRM/Mailing/Event</base>
5 <class>Reply</class>
6 <name>civicrm_mailing_event_reply</name>
7 <comment>Tracks when a contact replies to a mailing</comment>
8 <archive>true</archive>
d31fb4e3 9 <component>CiviMail</component>
5435b737
EM
10 <field>
11 <name>id</name>
fa6ace1a 12 <title>Reply ID</title>
5435b737
EM
13 <type>int unsigned</type>
14 <required>true</required>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>event_queue_id</name>
fa6ace1a 22 <title>Event Queue</title>
5435b737
EM
23 <type>int unsigned</type>
24 <required>true</required>
25 <comment>FK to EventQueue</comment>
26 </field>
27 <foreignKey>
28 <name>event_queue_id</name>
29 <table>civicrm_mailing_event_queue</table>
30 <key>id</key>
31 <onDelete>CASCADE</onDelete>
32 </foreignKey>
33 <field>
34 <name>time_stamp</name>
fa6ace1a 35 <title>Reply Timestamp</title>
4387c66f 36 <type>timestamp</type>
37 <default>CURRENT_TIMESTAMP</default>
5435b737
EM
38 <required>true</required>
39 <comment>When this reply event occurred.</comment>
40 </field>
6a488035 41</table>