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 <required>true
</required>
66 <comment>Is this tag selectable / displayed
</comment>
70 <name>parent_id
</name>
71 <table>civicrm_tag
</table>
77 <fieldName>name
</fieldName>
82 <name>is_reserved
</name>
83 <title>Reserved
</title>
86 <required>true
</required>
90 <name>is_tagset
</name>
94 <required>true
</required>
99 <title>Used For
</title>
102 <default>NULL
</default>
107 <optionGroupName>tag_used_for
</optionGroupName>
109 <serialize>COMMA
</serialize>
113 <name>created_id
</name>
114 <title>Created By Contact ID
</title>
115 <type>int unsigned
</type>
116 <comment>FK to civicrm_contact, who created this tag
</comment>
118 <label>Created By
</label>
127 <comment>Hex color value e.g. #ffffff
</comment>
128 <default>NULL
</default>
132 <name>created_id
</name>
133 <table>civicrm_contact
</table>
136 <onDelete>SET NULL
</onDelete>
139 <name>created_date
</name>
140 <type>datetime
</type>
141 <title>Tag Created Date
</title>
142 <comment>Date and time that tag was created.
</comment>