Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="utf-8" ?> |
2 | <table> | |
3 | <base>CRM/Dedupe</base> | |
4 | <class>RuleGroup</class> | |
5 | <name>civicrm_dedupe_rule_group</name> | |
6 | <comment>Dedupe rule groups</comment> | |
7 | <add>1.8</add> | |
8 | <field> | |
9 | <name>id</name> | |
10 | <type>int unsigned</type> | |
11 | <required>true</required> | |
12 | <comment>Unique dedupe rule group id</comment> | |
13 | <add>1.8</add> | |
14 | </field> | |
15 | <primaryKey> | |
16 | <name>id</name> | |
17 | <autoincrement>true</autoincrement> | |
18 | </primaryKey> | |
19 | <field> | |
20 | <name>contact_type</name> | |
21 | <type>enum</type> | |
22 | <values>Individual, Organization, Household</values> | |
23 | <comment>The type of contacts this group applies to</comment> | |
24 | <add>1.8</add> | |
25 | </field> | |
26 | <field> | |
27 | <name>threshold</name> | |
28 | <type>int</type> | |
29 | <required>true</required> | |
30 | <comment>The weight threshold the sum of the rule weights has to cross to consider two contacts the same</comment> | |
31 | <add>1.8</add> | |
32 | </field> | |
33 | <field> | |
34 | <name>level</name> | |
35 | <type>enum</type> | |
36 | <values>Strict, Fuzzy</values> | |
37 | <comment>Whether the rule should be used for cases where strict maching of the given contact type is required or a fuzzy one</comment> | |
38 | <add>2.1</add> | |
39 | <drop>4.3</drop> | |
40 | </field> | |
41 | <field> | |
42 | <name>used</name> | |
43 | <type>enum</type> | |
44 | <values>Unsupervised, Supervised, General</values> | |
45 | <required>true</required> | |
46 | <comment>Whether the rule should be used for cases where usage is Unsupervised, Supervised OR General(programatically)</comment> | |
47 | <add>4.3</add> | |
48 | </field> | |
49 | <field> | |
50 | <name>is_default</name> | |
51 | <type>boolean</type> | |
52 | <comment>Is this a default rule (one rule for every contact type + level combination should be default)</comment> | |
53 | <add>2.1</add> | |
54 | <drop>4.3</drop> | |
55 | </field> | |
56 | <field> | |
57 | <name>name</name> | |
58 | <type>varchar</type> | |
59 | <length>64</length> | |
60 | <comment>Name of the rule group</comment> | |
61 | <add>2.1</add> | |
62 | </field> | |
63 | <field> | |
64 | <name>title</name> | |
65 | <type>varchar</type> | |
66 | <length>255</length> | |
67 | <comment>Label of the rule group</comment> | |
68 | <add>4.1</add> | |
69 | </field> | |
70 | <field> | |
71 | <name>is_reserved</name> | |
72 | <type>boolean</type> | |
73 | <comment>Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin</comment> | |
74 | <add>4.1</add> | |
75 | </field> | |
76 | </table> |