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>
25 <autoincrement>true
</autoincrement>
29 <title>Tag Name
</title>
31 <required>true
</required>
33 <comment>Name of Tag.
</comment>
37 <name>description
</name>
38 <title>Description
</title>
41 <comment>Optional verbose description of the tag.
</comment>
45 <name>parent_id
</name>
46 <title>Parent Tag ID
</title>
47 <type>int unsigned
</type>
48 <default>NULL
</default>
49 <comment>Optional parent id for this tag.
</comment>
51 <table>civicrm_tag
</table>
52 <keyColumn>id
</keyColumn>
53 <labelColumn>name
</labelColumn>
56 <label>Parent Tag
</label>
61 <name>is_selectable
</name>
62 <title>Display Tag?
</title>
65 <comment>Is this tag selectable / displayed
</comment>
69 <name>parent_id
</name>
70 <table>civicrm_tag
</table>
76 <fieldName>name
</fieldName>
81 <name>is_reserved
</name>
82 <title>Reserved
</title>
88 <name>is_tagset
</name>
96 <title>Used For
</title>
99 <default>NULL
</default>
104 <optionGroupName>tag_used_for
</optionGroupName>
106 <serialize>COMMA
</serialize>
110 <name>created_id
</name>
111 <title>Created By Contact ID
</title>
112 <type>int unsigned
</type>
113 <comment>FK to civicrm_contact, who created this tag
</comment>
115 <label>Created By
</label>
124 <comment>Hex color value e.g. #ffffff
</comment>
125 <default>NULL
</default>
129 <name>created_id
</name>
130 <table>civicrm_contact
</table>
133 <onDelete>SET NULL
</onDelete>
136 <name>created_date
</name>
137 <type>datetime
</type>
138 <title>Tag Created Date
</title>
139 <comment>Date and time that tag was created.
</comment>