| 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 | <type>int unsigned</type> |
| 11 | <required>true</required> |
| 12 | </field> |
| 13 | <primaryKey> |
| 14 | <name>id</name> |
| 15 | <autoincrement>true</autoincrement> |
| 16 | </primaryKey> |
| 17 | <field> |
| 18 | <name>bounce_type_id</name> |
| 19 | <type>int unsigned</type> |
| 20 | <required>true</required> |
| 21 | <comment>Type of bounce</comment> |
| 22 | </field> |
| 23 | <foreignKey> |
| 24 | <name>bounce_type_id</name> |
| 25 | <table>civicrm_mailing_bounce_type</table> |
| 26 | <key>id</key> |
| 27 | <onDelete>CASCADE</onDelete> |
| 28 | </foreignKey> |
| 29 | <field> |
| 30 | <name>pattern</name> |
| 31 | <type>varchar</type> |
| 32 | <length>255</length> |
| 33 | <comment>A regexp to match a message to a bounce type</comment> |
| 34 | </field> |
| 35 | </table> |