| 1 | <?xml version="1.0" encoding="iso-8859-1" ?> |
| 2 | |
| 3 | <table> |
| 4 | <base>CRM/Core</base> |
| 5 | <class>LocationType</class> |
| 6 | <name>civicrm_location_type</name> |
| 7 | <add>1.1</add> |
| 8 | <log>true</log> |
| 9 | <field> |
| 10 | <name>id</name> |
| 11 | <title>Location Type ID</title> |
| 12 | <type>int unsigned</type> |
| 13 | <required>true</required> |
| 14 | <comment>Location Type ID</comment> |
| 15 | <add>1.1</add> |
| 16 | </field> |
| 17 | <primaryKey> |
| 18 | <name>id</name> |
| 19 | <autoincrement>true</autoincrement> |
| 20 | </primaryKey> |
| 21 | <field> |
| 22 | <name>name</name> |
| 23 | <title>Location Type</title> |
| 24 | <type>varchar</type> |
| 25 | <length>64</length> |
| 26 | <comment>Location Type Name.</comment> |
| 27 | <add>1.1</add> |
| 28 | </field> |
| 29 | <field> |
| 30 | <name>display_name</name> |
| 31 | <title>Display Name</title> |
| 32 | <type>varchar</type> |
| 33 | <length>64</length> |
| 34 | <comment>Location Type Display Name.</comment> |
| 35 | <localizable>true</localizable> |
| 36 | <add>4.1</add> |
| 37 | </field> |
| 38 | <field> |
| 39 | <name>vcard_name</name> |
| 40 | <title>vCard Location Type</title> |
| 41 | <type>varchar</type> |
| 42 | <length>64</length> |
| 43 | <comment>vCard Location Type Name.</comment> |
| 44 | <add>1.1</add> |
| 45 | </field> |
| 46 | <field> |
| 47 | <name>description</name> |
| 48 | <type>varchar</type> |
| 49 | <length>255</length> |
| 50 | <comment>Location Type Description.</comment> |
| 51 | <add>1.1</add> |
| 52 | </field> |
| 53 | <field> |
| 54 | <name>is_reserved</name> |
| 55 | <title>Location Type is Reserved?</title> |
| 56 | <type>boolean</type> |
| 57 | <comment>Is this location type a predefined system location?</comment> |
| 58 | <add>1.1</add> |
| 59 | </field> |
| 60 | <field> |
| 61 | <name>is_active</name> |
| 62 | <title>Location Type is Active?</title> |
| 63 | <type>boolean</type> |
| 64 | <comment>Is this property active?</comment> |
| 65 | <add>1.1</add> |
| 66 | </field> |
| 67 | <field> |
| 68 | <name>is_default</name> |
| 69 | <title>Default Location Type?</title> |
| 70 | <type>boolean</type> |
| 71 | <comment>Is this location type the default?</comment> |
| 72 | <add>1.1</add> |
| 73 | </field> |
| 74 | <index> |
| 75 | <name>UI_name</name> |
| 76 | <fieldName>name</fieldName> |
| 77 | <unique>true</unique> |
| 78 | <add>2.1</add> |
| 79 | </index> |
| 80 | </table> |