1 <?xml version=
"1.0" encoding=
"iso-8859-1" ?>
6 <name>civicrm_tag
</name>
7 <comment>Provides support for flat or hierarchical classification of various types of entities (contacts, groups, actions...).
</comment>
11 <labelField>name
</labelField>
15 <type>int unsigned
</type>
16 <required>true
</required>
17 <comment>Tag ID
</comment>
22 <autoincrement>true
</autoincrement>
26 <title>Tag Name
</title>
28 <required>true
</required>
30 <comment>Name of Tag.
</comment>
34 <name>description
</name>
35 <title>Description
</title>
38 <comment>Optional verbose description of the tag.
</comment>
42 <name>parent_id
</name>
43 <title>Parent Tag
</title>
44 <type>int unsigned
</type>
45 <default>NULL
</default>
46 <comment>Optional parent id for this tag.
</comment>
48 <table>civicrm_tag
</table>
49 <keyColumn>id
</keyColumn>
50 <labelColumn>name
</labelColumn>
55 <name>is_selectable
</name>
56 <title>Display Tag?
</title>
59 <comment>Is this tag selectable / displayed
</comment>
63 <name>parent_id
</name>
64 <table>civicrm_tag
</table>
70 <fieldName>name
</fieldName>
75 <name>is_reserved
</name>
76 <title>Reserved
</title>
82 <name>is_tagset
</name>
90 <title>Used For
</title>
93 <default>NULL
</default>
98 <optionGroupName>tag_used_for
</optionGroupName>
100 <serialize>COMMA
</serialize>
104 <name>created_id
</name>
105 <title>Tag Created By
</title>
106 <type>int unsigned
</type>
107 <comment>FK to civicrm_contact, who created this tag
</comment>
115 <comment>Hex color value e.g. #ffffff
</comment>
116 <default>NULL
</default>
120 <name>created_id
</name>
121 <table>civicrm_contact
</table>
124 <onDelete>SET NULL
</onDelete>
127 <name>created_date
</name>
128 <type>datetime
</type>
129 <title>Tag Created Date
</title>
130 <comment>Date and time that tag was created.
</comment>