Merge pull request #23587 from civicrm/5.50
[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>
0481e12c
A
15 <html>
16 <type>Number</type>
17 </html>
8f069c03 18 <add>1.1</add>
6a488035
TO
19 </field>
20 <primaryKey>
8f069c03
EM
21 <name>id</name>
22 <autoincrement>true</autoincrement>
6a488035
TO
23 </primaryKey>
24 <field>
8f069c03
EM
25 <name>name</name>
26 <title>Location Type</title>
27 <type>varchar</type>
28 <length>64</length>
29 <comment>Location Type Name.</comment>
30 <add>1.1</add>
6a488035
TO
31 </field>
32 <field>
8f069c03
EM
33 <name>display_name</name>
34 <title>Display Name</title>
35 <type>varchar</type>
36 <length>64</length>
37 <comment>Location Type Display Name.</comment>
38 <localizable>true</localizable>
39 <add>4.1</add>
6a488035
TO
40 </field>
41 <field>
8f069c03
EM
42 <name>vcard_name</name>
43 <title>vCard Location Type</title>
44 <type>varchar</type>
45 <length>64</length>
46 <comment>vCard Location Type Name.</comment>
47 <add>1.1</add>
6a488035
TO
48 </field>
49 <field>
8f069c03
EM
50 <name>description</name>
51 <type>varchar</type>
52 <length>255</length>
53 <comment>Location Type Description.</comment>
1662d426
A
54 <html>
55 <label>Description</label>
56 </html>
8f069c03 57 <add>1.1</add>
6a488035
TO
58 </field>
59 <field>
8f069c03 60 <name>is_reserved</name>
32ac94e8 61 <title>Location Type is Reserved?</title>
8f069c03
EM
62 <type>boolean</type>
63 <comment>Is this location type a predefined system location?</comment>
64 <add>1.1</add>
6a488035
TO
65 </field>
66 <field>
8f069c03 67 <name>is_active</name>
32ac94e8 68 <title>Location Type is Active?</title>
8f069c03
EM
69 <type>boolean</type>
70 <comment>Is this property active?</comment>
71 <add>1.1</add>
6a488035
TO
72 </field>
73 <field>
8f069c03 74 <name>is_default</name>
32ac94e8 75 <title>Default Location Type?</title>
8f069c03
EM
76 <type>boolean</type>
77 <comment>Is this location type the default?</comment>
78 <add>1.1</add>
6a488035
TO
79 </field>
80 <index>
81 <name>UI_name</name>
82 <fieldName>name</fieldName>
83 <unique>true</unique>
84 <add>2.1</add>
85 </index>
86</table>