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>
13 <type>int unsigned
</type>
14 <required>true
</required>
15 <comment>Tag ID
</comment>
20 <autoincrement>true
</autoincrement>
24 <title>Tag Name
</title>
26 <required>true
</required>
28 <comment>Name of Tag.
</comment>
32 <name>description
</name>
33 <title>Description
</title>
36 <comment>Optional verbose description of the tag.
</comment>
40 <name>parent_id
</name>
41 <title>Parent Tag
</title>
42 <type>int unsigned
</type>
43 <default>NULL
</default>
44 <comment>Optional parent id for this tag.
</comment>
48 <name>is_selectable
</name>
49 <title>Display Tag?
</title>
52 <comment>Is this tag selectable / displayed
</comment>
56 <name>parent_id
</name>
57 <table>civicrm_tag
</table>
63 <fieldName>name
</fieldName>
68 <name>is_reserved
</name>
69 <title>Reserved
</title>
75 <name>is_tagset
</name>
83 <title>Used For
</title>
86 <default>NULL
</default>
91 <optionGroupName>tag_used_for
</optionGroupName>
96 <name>created_id
</name>
97 <title>Tag Created By
</title>
98 <type>int unsigned
</type>
99 <comment>FK to civicrm_contact, who created this tag
</comment>
107 <comment>Hex color value e.g. #ffffff
</comment>
108 <default>NULL
</default>
112 <name>created_id
</name>
113 <table>civicrm_contact
</table>
116 <onDelete>SET NULL
</onDelete>
119 <name>created_date
</name>
120 <type>datetime
</type>
121 <title>Tag Created Date
</title>
122 <comment>Date and time that tag was created.
</comment>