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> | |
10d067c6 | 12 | <title>Mapping ID</title> |
8f069c03 EM |
13 | <required>true</required> |
14 | <comment>Mapping 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 | 23 | <name>name</name> |
110684e4 | 24 | <title>Mapping Name</title> |
8f069c03 EM |
25 | <type>varchar</type> |
26 | <length>64</length> | |
27 | <comment>Name of Mapping</comment> | |
28 | <add>1.2</add> | |
6a488035 TO |
29 | </field> |
30 | <field> | |
8f069c03 | 31 | <name>description</name> |
110684e4 | 32 | <title>Description</title> |
8f069c03 EM |
33 | <type>varchar</type> |
34 | <length>255</length> | |
35 | <comment>Description of Mapping.</comment> | |
36 | <add>1.2</add> | |
6a488035 TO |
37 | </field> |
38 | <field> | |
8f069c03 EM |
39 | <name>mapping_type</name> |
40 | <type>enum</type> | |
41 | <values>Export, Import, Export Contributions, Import Contributions, Import Activity, Search Builder, Import | |
42 | Memberships, Import Participants | |
43 | </values> | |
44 | <comment>Type of Mapping.</comment> | |
45 | <add>1.2</add> | |
46 | <drop>2.1</drop> | |
6a488035 TO |
47 | </field> |
48 | <field> | |
8f069c03 EM |
49 | <name>mapping_type_id</name> |
50 | <type>int unsigned</type> | |
10d067c6 | 51 | <title>Mapping Type</title> |
8f069c03 EM |
52 | <comment>Mapping Type</comment> |
53 | <add>2.1</add> | |
54 | <pseudoconstant> | |
55 | <optionGroupName>mapping_type</optionGroupName> | |
56 | </pseudoconstant> | |
57 | <html> | |
58 | <type>Select</type> | |
59 | </html> | |
6a488035 TO |
60 | </field> |
61 | <index> | |
62 | <name>UI_name</name> | |
63 | <fieldName>name</fieldName> | |
8f069c03 | 64 | <add>1.2</add> |
6a488035 TO |
65 | </index> |
66 | </table> |