Fixes Issue 0025912: Drop constraint AD_TABLE_CLASSNAME_PACKAGE_UN from AD_Table
authorShankar Balachandran <shankar.balachandran@openbravo.com>
Thu, 06 Mar 2014 11:26:36 +0530
changeset 547 f98a40f834cc
parent 546 fbc9958705ec
child 548 ac54fe61823d
Fixes Issue 0025912: Drop constraint AD_TABLE_CLASSNAME_PACKAGE_UN from AD_Table

Constraint has been removed and the same logic has been added to event handler.
model/src-db/database/model/tables/AD_TABLE.xml
--- a/model/src-db/database/model/tables/AD_TABLE.xml	Fri Feb 28 20:25:44 2014 +0100
+++ b/model/src-db/database/model/tables/AD_TABLE.xml	Thu Mar 06 11:26:36 2014 +0530
@@ -157,10 +157,6 @@
       <index name="AD_TABLE_PACKAGE_IDX" unique="false">
         <index-column name="AD_PACKAGE_ID"/>
       </index>
-      <index name="AD_TABLE_CLASSNAME_PACKAGE_UN" unique="true">
-        <index-column name="CLASSNAME"/>
-        <index-column name="AD_PACKAGE_ID"/>
-      </index>
       <unique name="AD_TABLE_NAME">
         <unique-column name="NAME"/>
       </unique>