Commit | Line | Data |
---|---|---|
6a488035 TO |
1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
2 | ||
3 | <table> | |
4 | <base>CRM/Core</base> | |
5 | <class>Mapping</class> | |
6 | <name>civicrm_mapping</name> | |
7 | <comment>Store field mappings in import or export for reuse</comment> | |
8 | <add>1.2</add> | |
9 | <field> | |
8f069c03 EM |
10 | <name>id</name> |
11 | <type>int unsigned</type> | |
12 | <required>true</required> | |
13 | <comment>Mapping ID</comment> | |
14 | <add>1.2</add> | |
6a488035 TO |
15 | </field> |
16 | <primaryKey> | |
8f069c03 EM |
17 | <name>id</name> |
18 | <autoincrement>true</autoincrement> | |
19 | <add>1.2</add> | |
6a488035 TO |
20 | </primaryKey> |
21 | <field> | |
8f069c03 EM |
22 | <name>name</name> |
23 | <type>varchar</type> | |
24 | <length>64</length> | |
25 | <comment>Name of Mapping</comment> | |
26 | <add>1.2</add> | |
6a488035 TO |
27 | </field> |
28 | <field> | |
8f069c03 EM |
29 | <name>description</name> |
30 | <type>varchar</type> | |
31 | <length>255</length> | |
32 | <comment>Description of Mapping.</comment> | |
33 | <add>1.2</add> | |
6a488035 TO |
34 | </field> |
35 | <field> | |
8f069c03 EM |
36 | <name>mapping_type</name> |
37 | <type>enum</type> | |
38 | <values>Export, Import, Export Contributions, Import Contributions, Import Activity, Search Builder, Import | |
39 | Memberships, Import Participants | |
40 | </values> | |
41 | <comment>Type of Mapping.</comment> | |
42 | <add>1.2</add> | |
43 | <drop>2.1</drop> | |
6a488035 TO |
44 | </field> |
45 | <field> | |
8f069c03 EM |
46 | <name>mapping_type_id</name> |
47 | <type>int unsigned</type> | |
48 | <comment>Mapping Type</comment> | |
49 | <add>2.1</add> | |
50 | <pseudoconstant> | |
51 | <optionGroupName>mapping_type</optionGroupName> | |
52 | </pseudoconstant> | |
53 | <html> | |
54 | <type>Select</type> | |
55 | </html> | |
6a488035 TO |
56 | </field> |
57 | <index> | |
58 | <name>UI_name</name> | |
59 | <fieldName>name</fieldName> | |
8f069c03 | 60 | <add>1.2</add> |
6a488035 TO |
61 | </index> |
62 | </table> |