commiting uncommited changes on live site
[weblabels.fsf.org.git] / crm.fsf.org / 20131203 / files / sites / all / modules-old / civicrm / xml / schema / Core / PrintLabel.xml
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>
11 <title>Print Label ID</title>
12 <type>int unsigned</type>
13 <required>true</required>
14 <add>4.4</add>
15 </field>
16 <primaryKey>
17 <name>id</name>
18 <autoincrement>true</autoincrement>
19 </primaryKey>
20 <field>
21 <name>title</name>
22 <title>Title</title>
23 <type>varchar</type>
24 <length>255</length>
25 <comment>User title for for this label layout</comment>
26 <add>4.4</add>
27 </field>
28 <field>
29 <name>name</name>
30 <title>Name</title>
31 <type>varchar</type>
32 <length>255</length>
33 <comment>variable name/programmatic handle for this field.</comment>
34 <add>4.4</add>
35 </field>
36 <field>
37 <name>description</name>
38 <type>text</type>
39 <comment>Description of this label layout</comment>
40 <add>4.4</add>
41 </field>
42 <field>
43 <name>label_format_name</name>
44 <title>Label Format</title>
45 <type>varchar</type>
46 <length>255</length>
47 <pseudoconstant>
48 <optionGroupName>name_badge</optionGroupName>
49 </pseudoconstant>
50 <html>
51 <type>Select</type>
52 </html>
53 <comment>This refers to name column of civicrm_option_value row in name_badge option group</comment>
54 <add>4.4</add>
55 </field>
56 <field>
57 <name>label_type_id</name>
58 <title>Label Type</title>
59 <type>int unsigned</type>
60 <pseudoconstant>
61 <optionGroupName>label_type</optionGroupName>
62 </pseudoconstant>
63 <html>
64 <type>Select</type>
65 </html>
66 <comment>Implicit FK to civicrm_option_value row in NEW label_type option group</comment>
67 <add>4.4</add>
68 </field>
69 <field>
70 <name>data</name>
71 <type>longtext</type>
72 <comment>contains json encode configurations options</comment>
73 <add>4.4</add>
74 </field>
75 <field>
76 <name>is_default</name>
77 <title>Label is Default?</title>
78 <type>boolean</type>
79 <default>1</default>
80 <comment>Is this default?</comment>
81 <add>4.4</add>
82 </field>
83 <field>
84 <name>is_active</name>
85 <title>Label Is Active?</title>
86 <type>boolean</type>
87 <default>1</default>
88 <comment>Is this option active?</comment>
89 <add>4.4</add>
90 </field>
91 <field>
92 <name>is_reserved</name>
93 <title>Is Label Reserved?</title>
94 <type>boolean</type>
95 <default>1</default>
96 <comment>Is this reserved label?</comment>
97 <add>4.4</add>
98 </field>
99 <field>
100 <name>created_id</name>
101 <title>Label Created By</title>
102 <type>int unsigned</type>
103 <title>Created By Contact ID</title>
104 <comment>FK to civicrm_contact, who created this label layout</comment>
105 <add>4.4</add>
106 </field>
107 <foreignKey>
108 <name>created_id</name>
109 <table>civicrm_contact</table>
110 <key>id</key>
111 <add>4.4</add>
112 <onDelete>SET NULL</onDelete>
113 </foreignKey>
114 </table>