| 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 | </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> |
| 33 | <title>Pattern</title> |
| 34 | <type>varchar</type> |
| 35 | <length>255</length> |
| 36 | <comment>A regexp to match a message to a bounce type</comment> |
| 37 | </field> |
| 38 | </table> |