Merge pull request #22438 from eileenmcnaughton/format
[civicrm-core.git] / xml / schema / Case / CaseType.xml
CommitLineData
fc9e7e51
ARW
1<?xml version="1.0" encoding="utf-8" ?>
2<table>
3 <base>CRM/Case</base>
4 <class>CaseType</class>
5 <name>civicrm_case_type</name>
6 <comment>Case type definition</comment>
7 <add>4.5</add>
8 <log>true</log>
d31fb4e3 9 <component>CiviCase</component>
fc9e7e51
ARW
10 <field>
11 <name>id</name>
b552f903 12 <title>Case Type ID</title>
fc9e7e51
ARW
13 <type>int unsigned</type>
14 <required>true</required>
15 <comment>Autoincremented type id</comment>
0481e12c
A
16 <html>
17 <type>Number</type>
18 </html>
fc9e7e51
ARW
19 <add>4.5</add>
20 </field>
21 <primaryKey>
22 <name>id</name>
23 <autoincrement>true</autoincrement>
24 </primaryKey>
25 <field>
26 <name>name</name>
b552f903 27 <title>Case Type Name</title>
fc9e7e51
ARW
28 <type>varchar</type>
29 <length>64</length>
30 <required>true</required>
31 <comment>Machine name for Case Type</comment>
32 <add>4.5</add>
33 </field>
34 <index>
35 <name>case_type_name</name>
36 <fieldName>name</fieldName>
37 <unique>true</unique>
38 <add>4.5</add>
39 </index>
40 <field>
41 <name>title</name>
b552f903 42 <title>Case Type Title</title>
fc9e7e51
ARW
43 <type>varchar</type>
44 <length>64</length>
45 <required>true</required>
f2bb267c 46 <localizable>true</localizable>
fc9e7e51
ARW
47 <comment>Natural language name for Case Type</comment>
48 <add>4.5</add>
49 </field>
50 <field>
51 <name>description</name>
b552f903 52 <title>Case Type Description</title>
fc9e7e51
ARW
53 <type>varchar</type>
54 <length>255</length>
f2bb267c 55 <localizable>true</localizable>
fc9e7e51
ARW
56 <comment>Description of the Case Type</comment>
57 <add>4.5</add>
58 </field>
59 <field>
60 <name>is_active</name>
b552f903 61 <title>Case Type Is Active</title>
fc9e7e51 62 <type>boolean</type>
96f09dda
CW
63 <comment>Is this case type enabled?</comment>
64 <default>1</default>
fc9e7e51
ARW
65 <add>4.5</add>
66 </field>
67 <field>
68 <name>is_reserved</name>
b552f903 69 <title>Case Type Is Reserved</title>
fc9e7e51
ARW
70 <type>boolean</type>
71 <comment>Is this case type a predefined system type?</comment>
72 <add>4.5</add>
73 </field>
74 <field>
75 <name>weight</name>
7ecddde4 76 <title>Order</title>
fc9e7e51
ARW
77 <type>int</type>
78 <required>true</required>
79 <default>1</default>
80 <comment>Ordering of the case types</comment>
81 <add>4.5</add>
82 </field>
54bd90eb 83 <field>
12341e79 84 <name>definition</name>
b552f903 85 <title>Case Type Definition</title>
54bd90eb 86 <type>blob</type>
87 <comment>xml definition of case type</comment>
88 <add>4.5</add>
89 </field>
fc9e7e51 90</table>