Merge pull request #17228 from mattwire/fixmultilingualoptiongroups
[civicrm-core.git] / xml / schema / Mailing / BouncePattern.xml
1 <?xml version="1.0" encoding="iso-8859-1" ?>
2
3 <table>
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>
8 <field>
9 <name>id</name>
10 <title>Bounce Pattern ID</title>
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>bounce_type_id</name>
20 <title>Bounce Type</title>
21 <type>int unsigned</type>
22 <required>true</required>
23 <comment>Type of bounce</comment>
24 <pseudoconstant>
25 <table>civicrm_mailing_bounce_type</table>
26 <keyColumn>id</keyColumn>
27 <labelColumn>name</labelColumn>
28 </pseudoconstant>
29 </field>
30 <foreignKey>
31 <name>bounce_type_id</name>
32 <table>civicrm_mailing_bounce_type</table>
33 <key>id</key>
34 <onDelete>CASCADE</onDelete>
35 </foreignKey>
36 <field>
37 <name>pattern</name>
38 <title>Pattern</title>
39 <type>varchar</type>
40 <length>255</length>
41 <comment>A regexp to match a message to a bounce type</comment>
42 </field>
43 </table>