| 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> |
| 10 | <name>id</name> |
| 11 | <type>int unsigned</type> |
| 12 | <title>Mapping ID</title> |
| 13 | <required>true</required> |
| 14 | <comment>Mapping ID</comment> |
| 15 | <add>1.2</add> |
| 16 | </field> |
| 17 | <primaryKey> |
| 18 | <name>id</name> |
| 19 | <autoincrement>true</autoincrement> |
| 20 | <add>1.2</add> |
| 21 | </primaryKey> |
| 22 | <field> |
| 23 | <name>name</name> |
| 24 | <title>Mapping Name</title> |
| 25 | <type>varchar</type> |
| 26 | <length>64</length> |
| 27 | <comment>Name of Mapping</comment> |
| 28 | <add>1.2</add> |
| 29 | </field> |
| 30 | <field> |
| 31 | <name>description</name> |
| 32 | <title>Description</title> |
| 33 | <type>varchar</type> |
| 34 | <length>255</length> |
| 35 | <comment>Description of Mapping.</comment> |
| 36 | <add>1.2</add> |
| 37 | </field> |
| 38 | <field> |
| 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> |
| 47 | </field> |
| 48 | <field> |
| 49 | <name>mapping_type_id</name> |
| 50 | <type>int unsigned</type> |
| 51 | <title>Mapping Type</title> |
| 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> |
| 60 | </field> |
| 61 | <index> |
| 62 | <name>UI_name</name> |
| 63 | <fieldName>name</fieldName> |
| 64 | <add>1.2</add> |
| 65 | </index> |
| 66 | </table> |