Fix FiveFortyNine is_public to default to 0
[civicrm-core.git] / xml / schema / Dedupe / DedupeRuleGroup.xml
1 <?xml version="1.0" encoding="utf-8" ?>
2 <table>
3 <base>CRM/Dedupe</base>
4 <class>DedupeRuleGroup</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 <title>Rule Group ID</title>
11 <type>int unsigned</type>
12 <required>true</required>
13 <comment>Unique dedupe rule group id</comment>
14 <html>
15 <type>Number</type>
16 </html>
17 <add>1.8</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>contact_type</name>
25 <title>Contact Type</title>
26 <type>varchar</type>
27 <length>12</length>
28 <comment>The type of contacts this group applies to</comment>
29 <pseudoconstant>
30 <table>civicrm_contact_type</table>
31 <keyColumn>name</keyColumn>
32 <labelColumn>label</labelColumn>
33 <condition>parent_id IS NULL</condition>
34 </pseudoconstant>
35 <add>1.8</add>
36 <html>
37 <type>Select</type>
38 </html>
39 </field>
40 <field>
41 <name>threshold</name>
42 <title>Threshold</title>
43 <type>int</type>
44 <required>true</required>
45 <comment>The weight threshold the sum of the rule weights has to cross to consider two contacts the same</comment>
46 <add>1.8</add>
47 <html>
48 <type>Text</type>
49 </html>
50 </field>
51 <field>
52 <name>used</name>
53 <type>varchar</type>
54 <title>Length</title>
55 <length>12</length>
56 <required>true</required>
57 <comment>Whether the rule should be used for cases where usage is Unsupervised, Supervised OR General(programatically)</comment>
58 <pseudoconstant>
59 <callback>CRM_Core_SelectValues::getDedupeRuleTypes</callback>
60 </pseudoconstant>
61 <add>4.3</add>
62 <html>
63 <type>Radio</type>
64 </html>
65 </field>
66 <field>
67 <name>name</name>
68 <title>Name</title>
69 <type>varchar</type>
70 <length>64</length>
71 <comment>Name of the rule group</comment>
72 <add>2.1</add>
73 </field>
74 <field>
75 <name>title</name>
76 <title>Title</title>
77 <type>varchar</type>
78 <length>255</length>
79 <comment>Label of the rule group</comment>
80 <add>4.1</add>
81 <html>
82 <type>Text</type>
83 </html>
84 </field>
85 <field>
86 <name>is_reserved</name>
87 <title>Reserved?</title>
88 <type>boolean</type>
89 <comment>Is this a reserved rule - a rule group that has been optimized and cannot be changed by the admin</comment>
90 <default>0</default>
91 <required>true</required>
92 <add>4.1</add>
93 <html>
94 <type>CheckBox</type>
95 </html>
96 </field>
97 </table>