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