CRM-13497 - getting there on main tables
[civicrm-core.git] / xml / schema / Activity / Activity.xml
index 544b8c616ad156e2028eae196a03b282eb879269..6b2e9b40a0cf0243b1083a6dd964fd1dc809916c 100644 (file)
@@ -15,6 +15,7 @@
       <required>true</required>
       <comment>Unique  Other Activity ID</comment>
        <add>1.1</add>
+       
   </field>
   <primaryKey>
        <name>id</name>
@@ -73,7 +74,7 @@
       </pseudoconstant>
       <html>
         <type>Select</type>
-      </html>
+      </html>            
   </field>
   <index>
        <name>UI_activity_type_id</name>
       <title>Phone (called) ID</title>
       <comment>Phone ID of the number called (optional - used if an existing phone number is selected).</comment>
       <add>2.0</add>
+      <html>
+        <type>Autocomplete-Select</type>
+      </html>
   </field>
   <foreignKey>
        <name>phone_id</name>
         <optionGroupName>activity_status</optionGroupName>
       </pseudoconstant>
       <html>
-            <type>Select</type>
-      </html>
+        <type>Select</type>
+      </html>      
   </field>
   <field>
       <name>priority_id</name>
         <optionGroupName>priority</optionGroupName>
       </pseudoconstant>
       <html>
-            <type>Select</type>
+        <type>Select</type>
       </html>
   </field>
   <field>
        <import>true</import>
        <headerPattern>/(is.)?test(.activity)?/i</headerPattern>
        <add>2.0</add>
+       <html>
+         <type>Select</type>
+       </html>
   </field>
   <field>
       <name>medium_id</name>
         <optionGroupName>encounter_medium</optionGroupName>
       </pseudoconstant>
       <html>
-            <type>Select</type>
+        <type>Select</type>
       </html>
       <add>2.2</add>
   </field>
        <import>true</import>
        <headerPattern>/(is.)?(current.)?(revision|version(ing)?)/i</headerPattern>
        <add>2.2</add>
+       <html>
+         <type>CheckBox</type>
+       </html>
   </field>
   <index>
        <name>index_is_current_revision</name>
        <import>true</import>
        <headerPattern>/(activity.)?(trash|deleted)/i</headerPattern>
        <add>2.2</add>
+       <html>
+         <type>Text</type>
+       </html>
   </field>
   <index>
        <name>index_is_deleted</name>
        <title>Campaign ID</title>
        <import>true</import>
        <comment>The campaign for which this activity has been triggered.</comment>
-       <html>
-            <type>Select</type>
-      </html>
        <add>3.4</add>
+       <html>
+         <type>CheckBox</type>
+       </html>
   </field>
   <foreignKey>
        <name>campaign_id</name>
         <optionGroupName>engagement_index</optionGroupName>
       </pseudoconstant>
       <html>
-            <type>Select</type>
+        <type>Select</type>
       </html>
       <add>3.4</add>
   </field>
       <name>weight</name>
       <type>int</type>
       <add>4.1</add>
+      <html>
+         <type>Text</type>
+      </html>
   </field>
 </table>