Merge pull request #15421 from artfulrobot/queue-safety
[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>
8 <field>
9 <name>id</name>
f3ea5182 10 <title>Bounce Pattern ID</title>
5435b737
EM
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>
f3ea5182 20 <title>Bounce Type</title>
5435b737
EM
21 <type>int unsigned</type>
22 <required>true</required>
23 <comment>Type of bounce</comment>
24 </field>
25 <foreignKey>
26 <name>bounce_type_id</name>
27 <table>civicrm_mailing_bounce_type</table>
28 <key>id</key>
29 <onDelete>CASCADE</onDelete>
30 </foreignKey>
31 <field>
32 <name>pattern</name>
f3ea5182 33 <title>Pattern</title>
5435b737
EM
34 <type>varchar</type>
35 <length>255</length>
36 <comment>A regexp to match a message to a bounce type</comment>
37 </field>
6a488035 38</table>