svn commit: r571301 - /ofbiz/trunk/applications/party/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r571301 - /ofbiz/trunk/applications/party/entitydef/entitymodel.xml

jaz-3
Author: jaz
Date: Thu Aug 30 13:40:57 2007
New Revision: 571301

URL: http://svn.apache.org/viewvc?rev=571301&view=rev
Log:
added messageId field to communication event

Modified:
    ofbiz/trunk/applications/party/entitydef/entitymodel.xml

Modified: ofbiz/trunk/applications/party/entitydef/entitymodel.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/entitydef/entitymodel.xml?rev=571301&r1=571300&r2=571301&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Thu Aug 30 13:40:57 2007
@@ -519,6 +519,7 @@
       <field name="toString" type="very-long"></field>
       <field name="ccString" type="very-long"></field>
       <field name="bccString" type="very-long"></field>
+      <field name="messageId" type="value"></field>
       <prim-key field="communicationEventId"/>
       <relation type="one" fk-name="COM_EVNT_TYPE" rel-entity-name="CommunicationEventType">
         <key-map field-name="communicationEventTypeId"/>
@@ -564,6 +565,9 @@
       <relation type="one" fk-name="COM_EVNT_RESENUM" rel-entity-name="Enumeration">
           <key-map field-name="reasonEnumId" rel-field-name="enumId"/>
       </relation>
+      <index name="COMMEVT_MSG_ID" unique="true">
+          <index-field name="messageId"/>              
+      </index>
     </entity>
     
   <view-entity entity-name="CommunicationEventAndSubscr"