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>
12 <type>int unsigned
</type>
13 <required>true
</required>
14 <comment>Tag ID
</comment>
19 <autoincrement>true
</autoincrement>
23 <title>Tag Name
</title>
25 <required>true
</required>
27 <comment>Name of Tag.
</comment>
31 <name>description
</name>
32 <title>Description
</title>
35 <comment>Optional verbose description of the tag.
</comment>
39 <name>parent_id
</name>
40 <title>Parent Tag
</title>
41 <type>int unsigned
</type>
42 <default>NULL
</default>
43 <comment>Optional parent id for this tag.
</comment>
47 <name>is_selectable
</name>
50 <comment>Is this tag selectable / displayed
</comment>
54 <name>parent_id
</name>
55 <table>civicrm_tag
</table>
61 <fieldName>name
</fieldName>
66 <name>is_reserved
</name>
67 <title>Reserved
</title>
73 <name>is_tagset
</name>
81 <title>Used For
</title>
84 <default>NULL
</default>
89 <optionGroupName>tag_used_for
</optionGroupName>
94 <name>created_id
</name>
95 <type>int unsigned
</type>
96 <comment>FK to civicrm_contact, who created this tag
</comment>
100 <name>created_id
</name>
101 <table>civicrm_contact
</table>
104 <onDelete>SET NULL
</onDelete>
107 <name>created_date
</name>
108 <type>datetime
</type>
109 <title>Tag Created Date
</title>
110 <comment>Date and time that tag was created.
</comment>