Merge pull request #19086 from agileware/CIVICRM-1617
[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>
16 <add>4.5</add>
17 </field>
18 <primaryKey>
19 <name>id</name>
20 <autoincrement>true</autoincrement>
21 </primaryKey>
22 <field>
23 <name>name</name>
b552f903 24 <title>Case Type Name</title>
fc9e7e51
ARW
25 <type>varchar</type>
26 <length>64</length>
27 <required>true</required>
28 <comment>Machine name for Case Type</comment>
29 <add>4.5</add>
30 </field>
31 <index>
32 <name>case_type_name</name>
33 <fieldName>name</fieldName>
34 <unique>true</unique>
35 <add>4.5</add>
36 </index>
37 <field>
38 <name>title</name>
b552f903 39 <title>Case Type Title</title>
fc9e7e51
ARW
40 <type>varchar</type>
41 <length>64</length>
42 <required>true</required>
f2bb267c 43 <localizable>true</localizable>
fc9e7e51
ARW
44 <comment>Natural language name for Case Type</comment>
45 <add>4.5</add>
46 </field>
47 <field>
48 <name>description</name>
b552f903 49 <title>Case Type Description</title>
fc9e7e51
ARW
50 <type>varchar</type>
51 <length>255</length>
f2bb267c 52 <localizable>true</localizable>
fc9e7e51
ARW
53 <comment>Description of the Case Type</comment>
54 <add>4.5</add>
55 </field>
56 <field>
57 <name>is_active</name>
b552f903 58 <title>Case Type Is Active</title>
fc9e7e51
ARW
59 <type>boolean</type>
60 <comment>Is this entry active?</comment>
61 <add>4.5</add>
62 </field>
63 <field>
64 <name>is_reserved</name>
b552f903 65 <title>Case Type Is Reserved</title>
fc9e7e51
ARW
66 <type>boolean</type>
67 <comment>Is this case type a predefined system type?</comment>
68 <add>4.5</add>
69 </field>
70 <field>
71 <name>weight</name>
7ecddde4 72 <title>Order</title>
fc9e7e51
ARW
73 <type>int</type>
74 <required>true</required>
75 <default>1</default>
76 <comment>Ordering of the case types</comment>
77 <add>4.5</add>
78 </field>
54bd90eb 79 <field>
12341e79 80 <name>definition</name>
b552f903 81 <title>Case Type Definition</title>
54bd90eb 82 <type>blob</type>
83 <comment>xml definition of case type</comment>
84 <add>4.5</add>
85 </field>
fc9e7e51 86</table>