Merge branch 'master' of https://github.com/rollox/civicrm-core into CRM-18317
[civicrm-core.git] / xml / schema / Core / Tag.xml
index 7ca3b058d88a773de4e22b7adccafc8829ef4919..13fd3869df34f2ba382fd3b4106ec737c7ca32a5 100644 (file)
@@ -8,53 +8,55 @@
   <add>1.1</add>
   <log>true</log>
   <field>
-      <name>id</name>
-      <type>int unsigned</type>
-      <required>true</required>
-      <comment>Tag ID</comment>
-      <add>1.1</add>
+    <name>id</name>
+    <title>Tag ID</title>
+    <type>int unsigned</type>
+    <required>true</required>
+    <comment>Tag ID</comment>
+    <add>1.1</add>
   </field>
   <primaryKey>
-       <name>id</name>
-       <autoincrement>true</autoincrement>
+    <name>id</name>
+    <autoincrement>true</autoincrement>
   </primaryKey>
   <field>
-       <name>name</name>
-       <title>Tag Name</title>
-       <type>varchar</type>
-       <required>true</required>
-       <length>64</length>
-       <comment>Name of Tag.</comment>
-       <add>1.1</add>
+    <name>name</name>
+    <title>Tag Name</title>
+    <type>varchar</type>
+    <required>true</required>
+    <length>64</length>
+    <comment>Name of Tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>description</name>
-       <title>Description</title>
-       <type>varchar</type>
-       <length>255</length>
-       <comment>Optional verbose description of the tag.</comment>
-       <add>1.1</add>
+    <name>description</name>
+    <title>Description</title>
+    <type>varchar</type>
+    <length>255</length>
+    <comment>Optional verbose description of the tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>parent_id</name>
-       <title>Parent Tag</title>
-       <type>int unsigned</type>
-       <default>NULL</default>
-       <comment>Optional parent id for this tag.</comment>
-       <add>1.1</add>
+    <name>parent_id</name>
+    <title>Parent Tag</title>
+    <type>int unsigned</type>
+    <default>NULL</default>
+    <comment>Optional parent id for this tag.</comment>
+    <add>1.1</add>
   </field>
   <field>
-       <name>is_selectable</name>
-       <type>boolean</type>
-       <default>1</default>
-       <comment>Is this tag selectable / displayed</comment>
-       <add>2.1</add>
+    <name>is_selectable</name>
+    <title>Display Tag?</title>
+    <type>boolean</type>
+    <default>1</default>
+    <comment>Is this tag selectable / displayed</comment>
+    <add>2.1</add>
   </field>
   <foreignKey>
-       <name>parent_id</name>
-       <table>civicrm_tag</table>
-       <key>id</key>
-       <add>1.1</add>
+    <name>parent_id</name>
+    <table>civicrm_tag</table>
+    <key>id</key>
+    <add>1.1</add>
   </foreignKey>
   <index>
     <name>UI_name</name>
     <add>3.2</add>
   </field>
   <field>
-      <name>created_id</name>
-      <type>int unsigned</type>
-      <comment>FK to civicrm_contact, who created this tag</comment>
-      <add>3.4</add>
+    <name>created_id</name>
+    <title>Tag Created By</title>
+    <type>int unsigned</type>
+    <comment>FK to civicrm_contact, who created this tag</comment>
+    <add>3.4</add>
   </field>
   <foreignKey>
-      <name>created_id</name>
-      <table>civicrm_contact</table>
-      <key>id</key>
-      <add>3.4</add>
-      <onDelete>SET NULL</onDelete>
+    <name>created_id</name>
+    <table>civicrm_contact</table>
+    <key>id</key>
+    <add>3.4</add>
+    <onDelete>SET NULL</onDelete>
   </foreignKey>
   <field>
-      <name>created_date</name>
-      <type>datetime</type>
-      <title>Tag Created Date</title>
-      <comment>Date and time that tag was created.</comment>
-      <add>3.4</add>
+    <name>created_date</name>
+    <type>datetime</type>
+    <title>Tag Created Date</title>
+    <comment>Date and time that tag was created.</comment>
+    <add>3.4</add>
   </field>
 </table>