Fixes issue 21672: Added delete on cascade to obuiapp_note.ad_table_id column
authorAugusto Mauch <augusto.mauch@openbravo.com>
Mon, 17 Sep 2012 17:13:17 +0200
changeset 410 425718995c30
parent 409 8fdf08cdb63e
child 411 8ba4863dc6c3
Fixes issue 21672: Added delete on cascade to obuiapp_note.ad_table_id column
model/modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_NOTE.xml
--- a/model/modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_NOTE.xml	Wed Sep 12 16:15:41 2012 +0200
+++ b/model/modules/org.openbravo.client.application/src-db/database/model/tables/OBUIAPP_NOTE.xml	Mon Sep 17 17:13:17 2012 +0200
@@ -51,7 +51,7 @@
       <foreign-key foreignTable="AD_ORG" name="OBUIAPP_NOTE_AD_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_TABLE" name="OBUIAPP_NOTE_AD_TABLE">
+      <foreign-key foreignTable="AD_TABLE" name="OBUIAPP_NOTE_AD_TABLE" onDelete="cascade">
         <reference local="AD_TABLE_ID" foreign="AD_TABLE_ID"/>
       </foreign-key>
       <index name="OBUIAPP_NOTE_AD_TABLE" unique="false">