Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | <table> | |
3 | <base>CRM/Dedupe</base> | |
4 | <class>Exception</class> | |
5 | <name>civicrm_dedupe_exception</name> | |
6 | <comment>Dedupe exceptions</comment> | |
7 | <add>3.3</add> | |
8 | <field> | |
9 | <name>id</name> | |
f3ea5182 | 10 | <title>Dedupe Exception ID</title> |
6a488035 TO |
11 | <type>int unsigned</type> |
12 | <required>true</required> | |
13 | <comment>Unique dedupe exception id</comment> | |
14 | <add>3.3</add> | |
15 | </field> | |
16 | <primaryKey> | |
17 | <name>id</name> | |
18 | <autoincrement>true</autoincrement> | |
19 | </primaryKey> | |
3c7d2158 | 20 | <field> |
f3ea5182 | 21 | <name>contact_id1</name> |
22 | <title>First Dupe Contact ID</title> | |
23 | <type>int unsigned</type> | |
24 | <comment>FK to Contact ID</comment> | |
25 | <add>3.3</add> | |
3c7d2158 | 26 | </field> |
27 | <foreignKey> | |
f3ea5182 | 28 | <name>contact_id1</name> |
29 | <table>civicrm_contact</table> | |
30 | <key>id</key> | |
31 | <add>3.3</add> | |
32 | <onDelete>CASCADE</onDelete> | |
6a488035 | 33 | </foreignKey> |
3c7d2158 | 34 | <field> |
f3ea5182 | 35 | <name>contact_id2</name> |
36 | <title>Second Dupe Contact ID</title> | |
37 | <type>int unsigned</type> | |
38 | <comment>FK to Contact ID</comment> | |
39 | <add>3.3</add> | |
3c7d2158 | 40 | </field> |
41 | <foreignKey> | |
f3ea5182 | 42 | <name>contact_id2</name> |
43 | <table>civicrm_contact</table> | |
44 | <key>id</key> | |
45 | <add>3.3</add> | |
46 | <onDelete>CASCADE</onDelete> | |
6a488035 TO |
47 | </foreignKey> |
48 | <index> | |
f3ea5182 | 49 | <name>UI_contact_id1_contact_id2</name> |
50 | <fieldName>contact_id1</fieldName> | |
51 | <fieldName>contact_id2</fieldName> | |
52 | <unique>true</unique> | |
53 | <add>3.3</add> | |
6a488035 TO |
54 | </index> |
55 | </table> |