Merge pull request #16786 from civicrm/5.24
[civicrm-core.git] / xml / schema / Core / LocationType.xml
CommitLineData
6a488035
TO
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>
8f069c03 10 <name>id</name>
32ac94e8 11 <title>Location Type ID</title>
8f069c03
EM
12 <type>int unsigned</type>
13 <required>true</required>
14 <comment>Location Type ID</comment>
15 <add>1.1</add>
6a488035
TO
16 </field>
17 <primaryKey>
8f069c03
EM
18 <name>id</name>
19 <autoincrement>true</autoincrement>
6a488035
TO
20 </primaryKey>
21 <field>
8f069c03
EM
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>
6a488035
TO
28 </field>
29 <field>
8f069c03
EM
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>
6a488035
TO
37 </field>
38 <field>
8f069c03
EM
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>
6a488035
TO
45 </field>
46 <field>
8f069c03
EM
47 <name>description</name>
48 <type>varchar</type>
49 <length>255</length>
50 <comment>Location Type Description.</comment>
51 <add>1.1</add>
6a488035
TO
52 </field>
53 <field>
8f069c03 54 <name>is_reserved</name>
32ac94e8 55 <title>Location Type is Reserved?</title>
8f069c03
EM
56 <type>boolean</type>
57 <comment>Is this location type a predefined system location?</comment>
58 <add>1.1</add>
6a488035
TO
59 </field>
60 <field>
8f069c03 61 <name>is_active</name>
32ac94e8 62 <title>Location Type is Active?</title>
8f069c03
EM
63 <type>boolean</type>
64 <comment>Is this property active?</comment>
65 <add>1.1</add>
6a488035
TO
66 </field>
67 <field>
8f069c03 68 <name>is_default</name>
32ac94e8 69 <title>Default Location Type?</title>
8f069c03
EM
70 <type>boolean</type>
71 <comment>Is this location type the default?</comment>
72 <add>1.1</add>
6a488035
TO
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>