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>
14 <type>int unsigned
</type>
15 <required>true
</required>
16 <comment>Tag ID
</comment>
21 <autoincrement>true
</autoincrement>
25 <title>Tag Name
</title>
27 <required>true
</required>
29 <comment>Name of Tag.
</comment>
33 <name>description
</name>
34 <title>Description
</title>
37 <comment>Optional verbose description of the tag.
</comment>
41 <name>parent_id
</name>
42 <title>Parent Tag
</title>
43 <type>int unsigned
</type>
44 <default>NULL
</default>
45 <comment>Optional parent id for this tag.
</comment>
47 <table>civicrm_tag
</table>
48 <keyColumn>id
</keyColumn>
49 <labelColumn>name
</labelColumn>
54 <name>is_selectable
</name>
55 <title>Display Tag?
</title>
58 <comment>Is this tag selectable / displayed
</comment>
62 <name>parent_id
</name>
63 <table>civicrm_tag
</table>
69 <fieldName>name
</fieldName>
74 <name>is_reserved
</name>
75 <title>Reserved
</title>
81 <name>is_tagset
</name>
89 <title>Used For
</title>
92 <default>NULL
</default>
97 <optionGroupName>tag_used_for
</optionGroupName>
99 <serialize>COMMA
</serialize>
103 <name>created_id
</name>
104 <title>Tag Created By
</title>
105 <type>int unsigned
</type>
106 <comment>FK to civicrm_contact, who created this tag
</comment>
114 <comment>Hex color value e.g. #ffffff
</comment>
115 <default>NULL
</default>
119 <name>created_id
</name>
120 <table>civicrm_contact
</table>
123 <onDelete>SET NULL
</onDelete>
126 <name>created_date
</name>
127 <type>datetime
</type>
128 <title>Tag Created Date
</title>
129 <comment>Date and time that tag was created.
</comment>