Merge pull request #20500 from seamuslee001/php8_zip_test
[civicrm-core.git] / xml / schema / Dedupe / DedupeException.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="utf-8" ?>
2<table>
3 <base>CRM/Dedupe</base>
bb4187d7 4 <class>DedupeException</class>
6a488035
TO
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>
0481e12c
A
14 <html>
15 <type>Number</type>
16 </html>
6a488035
TO
17 <add>3.3</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
3c7d2158 23 <field>
f3ea5182 24 <name>contact_id1</name>
25 <title>First Dupe Contact ID</title>
26 <type>int unsigned</type>
27 <comment>FK to Contact ID</comment>
57e94608
A
28 <html>
29 <label>First Dupe Contact</label>
30 </html>
f3ea5182 31 <add>3.3</add>
b23a2a3b 32 <required>TRUE</required>
3c7d2158 33 </field>
34 <foreignKey>
f3ea5182 35 <name>contact_id1</name>
36 <table>civicrm_contact</table>
37 <key>id</key>
38 <add>3.3</add>
39 <onDelete>CASCADE</onDelete>
6a488035 40 </foreignKey>
3c7d2158 41 <field>
f3ea5182 42 <name>contact_id2</name>
43 <title>Second Dupe Contact ID</title>
44 <type>int unsigned</type>
45 <comment>FK to Contact ID</comment>
57e94608
A
46 <html>
47 <label>Second Dupe Contact</label>
48 </html>
f3ea5182 49 <add>3.3</add>
b23a2a3b 50 <required>TRUE</required>
3c7d2158 51 </field>
52 <foreignKey>
f3ea5182 53 <name>contact_id2</name>
54 <table>civicrm_contact</table>
55 <key>id</key>
56 <add>3.3</add>
57 <onDelete>CASCADE</onDelete>
6a488035
TO
58 </foreignKey>
59 <index>
f3ea5182 60 <name>UI_contact_id1_contact_id2</name>
61 <fieldName>contact_id1</fieldName>
62 <fieldName>contact_id2</fieldName>
63 <unique>true</unique>
64 <add>3.3</add>
6a488035
TO
65 </index>
66 </table>