Annotate DAO files with COMPONENT, exclude disabled components' entities from APIv4...
[civicrm-core.git] / xml / schema / Mailing / BouncePattern.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
5435b737
EM
4 <base>CRM/Mailing</base>
5 <class>BouncePattern</class>
6 <name>civicrm_mailing_bounce_pattern</name>
7 <comment>Pseudo-constant table of patterns for bounce classification</comment>
d31fb4e3 8 <component>CiviMail</component>
5435b737
EM
9 <field>
10 <name>id</name>
f3ea5182 11 <title>Bounce Pattern ID</title>
5435b737
EM
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>bounce_type_id</name>
f3ea5182 21 <title>Bounce Type</title>
5435b737
EM
22 <type>int unsigned</type>
23 <required>true</required>
24 <comment>Type of bounce</comment>
f73a6dff
PN
25 <pseudoconstant>
26 <table>civicrm_mailing_bounce_type</table>
27 <keyColumn>id</keyColumn>
28 <labelColumn>name</labelColumn>
29 </pseudoconstant>
5435b737
EM
30 </field>
31 <foreignKey>
32 <name>bounce_type_id</name>
33 <table>civicrm_mailing_bounce_type</table>
34 <key>id</key>
35 <onDelete>CASCADE</onDelete>
36 </foreignKey>
37 <field>
38 <name>pattern</name>
f3ea5182 39 <title>Pattern</title>
5435b737
EM
40 <type>varchar</type>
41 <length>255</length>
42 <comment>A regexp to match a message to a bounce type</comment>
43 </field>
6a488035 44</table>