Merge remote-tracking branch 'upstream/4.4' into 4.4-master-2014-02-05-17-16-30
[civicrm-core.git] / xml / schema / Activity / ActivityContact.xml
index 3f5138b69440ba3af635b7aeed08f04a48955592..0463a9a1dbdc96742100e1b5b440709c6d85aefe 100644 (file)
     <name>record_type_id</name>
     <type>int unsigned</type>
     <title>Record Type ID</title>
-    <comment>The record type id for this row</comment>
+    <comment>Contents vary depending on the activity type. Code using custom activities may use this field as they choose fit.</comment>
+    <pseudoconstant>
+      <optionGroupName>activity_contacts</optionGroupName>
+    </pseudoconstant>
+    <html>
+      <type>Select</type>
+    </html>
     <add>4.4</add>
   </field>
   <index>
     <unique>true</unique>
     <add>4.4</add>
   </index>
-
+  <index>
+    <name>index_record_type</name>
+    <fieldName>activity_id</fieldName>
+    <fieldName>record_type_id</fieldName>
+    <add>4.4</add>
+  </index>
 </table>