Author: jaz
Date: Wed Sep 26 11:33:41 2007
New Revision: 579751
URL:
http://svn.apache.org/viewvc?rev=579751&view=revLog:
fixed so the hash key is always unique
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=579751&r1=579750&r2=579751&view=diff==============================================================================
--- ofbiz/trunk/applications/party/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/party/entitydef/entitymodel.xml Wed Sep 26 11:33:41 2007
@@ -832,7 +832,10 @@
<field name="emailAddress" type="id-vlong-ne"></field>
<field name="verifyHash" type="value"></field>
<field name="expireDate" type="date-time"></field>
- <prim-key field="emailAddress"/>
+ <prim-key field="emailAddress"/>
+ <index name="EMAIL_VERIFY_HASH" unique="true">
+ <index-field name="verifyHash"/>
+ </index>
</entity>
<view-entity entity-name="PartyContactDetailByPurpose"
package-name="org.ofbiz.party.contact"