Add label for fields without title
[civicrm-core.git] / xml / schema / Core / PrintLabel.xml
CommitLineData
bc91fa05
KJ
1<?xml version="1.0" encoding="iso-8859-1" ?>
2
3<table>
4 <base>CRM/Core</base>
5 <class>PrintLabel</class>
6 <name>civicrm_print_label</name>
7 <comment>Table to store the labels created by user.</comment>
8 <add>4.4</add>
9 <field>
10 <name>id</name>
7cd3d797 11 <title>Print Label ID</title>
bc91fa05
KJ
12 <type>int unsigned</type>
13 <required>true</required>
0481e12c
A
14 <html>
15 <type>Number</type>
16 </html>
bc91fa05
KJ
17 <add>4.4</add>
18 </field>
19 <primaryKey>
20 <name>id</name>
21 <autoincrement>true</autoincrement>
22 </primaryKey>
23 <field>
24 <name>title</name>
25 <title>Title</title>
26 <type>varchar</type>
27 <length>255</length>
01d214aa 28 <comment>User title for this label layout</comment>
bc91fa05
KJ
29 <add>4.4</add>
30 </field>
31 <field>
32 <name>name</name>
33 <title>Name</title>
34 <type>varchar</type>
35 <length>255</length>
36 <comment>variable name/programmatic handle for this field.</comment>
37 <add>4.4</add>
38 </field>
39 <field>
40 <name>description</name>
41 <type>text</type>
42 <comment>Description of this label layout</comment>
43 <add>4.4</add>
44 </field>
45 <field>
d34dbf05 46 <name>label_format_name</name>
0d94665e 47 <title>Label Format</title>
d34dbf05
KJ
48 <type>varchar</type>
49 <length>255</length>
636f1cbe
KJ
50 <pseudoconstant>
51 <optionGroupName>name_badge</optionGroupName>
52 </pseudoconstant>
614d72ec 53 <html>
e0991796 54 <type>Select</type>
614d72ec 55 </html>
d34dbf05 56 <comment>This refers to name column of civicrm_option_value row in name_badge option group</comment>
bc91fa05
KJ
57 <add>4.4</add>
58 </field>
59 <field>
60 <name>label_type_id</name>
0d94665e 61 <title>Label Type</title>
bc91fa05 62 <type>int unsigned</type>
636f1cbe
KJ
63 <pseudoconstant>
64 <optionGroupName>label_type</optionGroupName>
65 </pseudoconstant>
614d72ec 66 <html>
e0991796 67 <type>Select</type>
614d72ec 68 </html>
bc91fa05
KJ
69 <comment>Implicit FK to civicrm_option_value row in NEW label_type option group</comment>
70 <add>4.4</add>
71 </field>
72 <field>
73 <name>data</name>
74 <type>longtext</type>
75 <comment>contains json encode configurations options</comment>
76 <add>4.4</add>
2a5c9b4d 77 <serialize>JSON</serialize>
bc91fa05 78 </field>
bc91fa05
KJ
79 <field>
80 <name>is_default</name>
0d94665e 81 <title>Label is Default?</title>
bc91fa05
KJ
82 <type>boolean</type>
83 <default>1</default>
84 <comment>Is this default?</comment>
85 <add>4.4</add>
86 </field>
87 <field>
88 <name>is_active</name>
0d94665e 89 <title>Label Is Active?</title>
bc91fa05
KJ
90 <type>boolean</type>
91 <default>1</default>
92 <comment>Is this option active?</comment>
93 <add>4.4</add>
94 </field>
95 <field>
96 <name>is_reserved</name>
0d94665e 97 <title>Is Label Reserved?</title>
bc91fa05
KJ
98 <type>boolean</type>
99 <default>1</default>
100 <comment>Is this reserved label?</comment>
101 <add>4.4</add>
102 </field>
103 <field>
104 <name>created_id</name>
105 <type>int unsigned</type>
106 <title>Created By Contact ID</title>
107 <comment>FK to civicrm_contact, who created this label layout</comment>
57e94608 108 <html>
f2c816af 109 <label>Created By</label>
57e94608 110 </html>
bc91fa05
KJ
111 <add>4.4</add>
112 </field>
113 <foreignKey>
114 <name>created_id</name>
115 <table>civicrm_contact</table>
116 <key>id</key>
117 <add>4.4</add>
118 <onDelete>SET NULL</onDelete>
119 </foreignKey>
120</table>