Fixed issue 10841. Added onCreateDefault value to Primary Key column.
authorAntonio Moreno <antonio.moreno@openbravo.com>
Mon, 05 Oct 2009 17:37:17 +0200
changeset 5148 6c00a64a7557
parent 5147 02a53972d610
child 5149 ef307fc1968e
Fixed issue 10841. Added onCreateDefault value to Primary Key column.
src-db/database/model/tables/R_CONTACTINTEREST.xml
--- a/src-db/database/model/tables/R_CONTACTINTEREST.xml	Mon Oct 05 17:31:18 2009 +0200
+++ b/src-db/database/model/tables/R_CONTACTINTEREST.xml	Mon Oct 05 17:37:17 2009 +0200
@@ -47,7 +47,7 @@
       </column>
       <column name="R_CONTACTINTEREST_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
         <default/>
-        <onCreateDefault/>
+        <onCreateDefault><![CDATA[get_uuid()]]></onCreateDefault>
       </column>
       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_RCONTACTINTEREST">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>