Add effective start and end date plus created & modified date to action schedule...
[civicrm-core.git] / xml / schema / Core / MappingField.xml
CommitLineData
6a488035
TO
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>MappingField</class>
6 <name>civicrm_mapping_field</name>
7 <comment>Individual field mappings for Mapping</comment>
8 <add>1.2</add>
9 <field>
8f069c03
EM
10 <name>id</name>
11 <type>int unsigned</type>
10d067c6 12 <title>Mapping Field ID</title>
8f069c03
EM
13 <required>true</required>
14 <comment>Mapping Field ID</comment>
15 <add>1.2</add>
6a488035
TO
16 </field>
17 <primaryKey>
8f069c03
EM
18 <name>id</name>
19 <autoincrement>true</autoincrement>
20 <add>1.2</add>
6a488035
TO
21 </primaryKey>
22 <field>
8f069c03
EM
23 <name>mapping_id</name>
24 <type>int unsigned</type>
10d067c6 25 <title>Mapping ID</title>
8f069c03
EM
26 <required>true</required>
27 <comment>Mapping to which this field belongs</comment>
28 <add>1.2</add>
6a488035
TO
29 </field>
30 <foreignKey>
8f069c03
EM
31 <name>mapping_id</name>
32 <table>civicrm_mapping</table>
33 <key>id</key>
34 <add>1.2</add>
6a488035
TO
35 </foreignKey>
36 <field>
8f069c03 37 <name>name</name>
110684e4 38 <title>Field Name (or unique reference)</title>
8f069c03
EM
39 <type>varchar</type>
40 <length>255</length>
41 <comment>Mapping field key</comment>
42 <add>1.2</add>
6a488035
TO
43 </field>
44 <field>
8f069c03 45 <name>contact_type</name>
110684e4 46 <title>Contact Type</title>
8f069c03
EM
47 <type>varchar</type>
48 <length>64</length>
49 <comment>Contact Type in mapping</comment>
8f069c03
EM
50 <html>
51 <type>Select</type>
52 </html>
53 <add>1.2</add>
6a488035
TO
54 </field>
55 <field>
8f069c03 56 <name>column_number</name>
110684e4 57 <title>Column Number to map to</title>
8f069c03
EM
58 <type>int unsigned</type>
59 <required>true</required>
60 <comment>Column number for mapping set</comment>
61 <add>1.2</add>
6a488035
TO
62 </field>
63 <field>
8f069c03
EM
64 <name>location_type_id</name>
65 <type>int unsigned</type>
10d067c6 66 <title>Location type ID</title>
8f069c03
EM
67 <comment>Location type of this mapping, if required</comment>
68 <add>1.2</add>
3c5a48c7 69 <pseudoconstant>
70 <table>civicrm_location_type</table>
71 <keyColumn>id</keyColumn>
72 <labelColumn>display_name</labelColumn>
73 </pseudoconstant>
6a488035
TO
74 </field>
75 <foreignKey>
8f069c03
EM
76 <name>location_type_id</name>
77 <table>civicrm_location_type</table>
78 <key>id</key>
79 <add>1.2</add>
6a488035 80 </foreignKey>
6a488035 81 <field>
8f069c03 82 <name>phone_type_id</name>
110684e4 83 <title>Phone Type</title>
8f069c03 84 <type>int unsigned</type>
10d067c6 85 <title>Phone type ID</title>
8f069c03
EM
86 <comment>Which type of phone does this number belongs.</comment>
87 <add>2.2</add>
3c7d2158 88 </field>
8f069c03
EM
89 <field>
90 <name>im_provider_id</name>
91 <type>int unsigned</type>
10d067c6 92 <title>IM provider ID</title>
8f069c03
EM
93 <comment>Which type of IM Provider does this name belong.</comment>
94 <add>3.0</add>
95 <pseudoconstant>
96 <optionGroupName>instant_messenger_service</optionGroupName>
97 </pseudoconstant>
98 <html>
99 <type>Select</type>
100 </html>
6a488035
TO
101 </field>
102 <field>
8f069c03
EM
103 <name>website_type_id</name>
104 <type>int unsigned</type>
a265eee1 105 <title>Website type ID</title>
8f069c03
EM
106 <comment>Which type of website does this site belong</comment>
107 <add>3.2</add>
108 <pseudoconstant>
109 <optionGroupName>website_type</optionGroupName>
110 </pseudoconstant>
111 <html>
112 <type>Select</type>
113 </html>
3c7d2158 114 </field>
6a488035 115 <field>
8f069c03
EM
116 <name>relationship_type_id</name>
117 <type>int unsigned</type>
a265eee1 118 <title>Relationship type ID</title>
8f069c03
EM
119 <comment>Relationship type, if required</comment>
120 <add>1.2</add>
6a488035
TO
121 </field>
122 <foreignKey>
8f069c03
EM
123 <name>relationship_type_id</name>
124 <table>civicrm_relationship_type</table>
125 <key>id</key>
126 <add>1.2</add>
6a488035 127 </foreignKey>
3c7d2158 128 <field>
8f069c03 129 <name>relationship_direction</name>
110684e4 130 <title>Relationship Direction</title>
8f069c03
EM
131 <type>varchar</type>
132 <length>6</length>
133 <add>1.7</add>
3c7d2158 134 </field>
6a488035 135 <field>
8f069c03 136 <name>grouping</name>
110684e4 137 <title>Field Grouping</title>
8f069c03
EM
138 <type>int unsigned</type>
139 <default>1</default>
140 <comment>Used to group mapping_field records into related sets (e.g. for criteria sets in search builder
fb607354 141 mappings).</comment>
8f069c03 142 <add>1.5</add>
6a488035
TO
143 </field>
144 <field>
8f069c03
EM
145 <name>operator</name>
146 <type>varchar</type>
110684e4 147 <title>Operator</title>
8f069c03
EM
148 <length>16</length>
149 <type>enum</type>
150 <comment>SQL WHERE operator for search-builder mapping fields (search criteria).</comment>
151 <pseudoconstant>
152 <callback>CRM_Core_SelectValues::getSearchBuilderOperators</callback>
153 </pseudoconstant>
154 <add>1.5</add>
155 <html>
156 <type>Select</type>
157 </html>
6a488035
TO
158 </field>
159 <field>
8f069c03 160 <name>value</name>
110684e4 161 <title>Search builder where clause</title>
8f069c03
EM
162 <type>varchar</type>
163 <length>255</length>
164 <comment>SQL WHERE value for search-builder mapping fields.</comment>
165 <add>1.5</add>
6a488035
TO
166 </field>
167</table>