src-db/database/model/tables/AD_IMAGE.xml
changeset 13050 a95738137c89
parent 8505 a2bb7e6fb443
child 13059 27451b6701f2
--- a/src-db/database/model/tables/AD_IMAGE.xml	Fri Jul 01 09:52:00 2011 +0200
+++ b/src-db/database/model/tables/AD_IMAGE.xml	Fri Jul 01 10:01:07 2011 +0200
@@ -48,7 +48,7 @@
       <foreign-key foreignTable="AD_CLIENT" name="AD_IMAGE_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="AD_IMAGE_AD_ORG">
+      <foreign-key foreignTable="AD_ORG" name="AD_IMAGE_AD_ORG" onDelete="cascade">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
       <check name="AD_IMAGE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>