CRM-14894 - Modify line_item unique index in schema line_item.xml to fix fatal for...
authorDave Greenberg <dave@civicrm.org>
Mon, 23 Jun 2014 22:47:28 +0000 (15:47 -0700)
committerDave Greenberg <dave@civicrm.org>
Mon, 23 Jun 2014 22:47:28 +0000 (15:47 -0700)
----------------------------------------
* CRM-14894:
  https://issues.civicrm.org/jira/browse/CRM-14894

xml/schema/Price/LineItem.xml

index 140a1d841ec9f5603826ef1760457727b0c2f38b..09740f1807a124540aeb9fd6752c40210d47a211 100644 (file)
     <name>UI_line_item_value</name>
     <fieldName>entity_table</fieldName>
     <fieldName>entity_id</fieldName>
+               <fieldName>contribution_id</fieldName>
     <fieldName>price_field_value_id</fieldName>
     <fieldName>price_field_id</fieldName>
     <unique>true</unique>
     <add>3.3</add>
+    <change>4.5</change>
+    <!-- Add contribution_id to unique index in 4.5  -->
   </index>
   <field>
     <name>price_field_value_id</name>