src-db/database/model/tables/AD_VAL_RULE.xml
changeset 1644 b425d9163510
parent 1605 8a0fe0193bef
child 2276 6f0fae641f4f
--- a/src-db/database/model/tables/AD_VAL_RULE.xml	Thu Sep 11 08:01:59 2008 +0000
+++ b/src-db/database/model/tables/AD_VAL_RULE.xml	Thu Sep 11 08:09:25 2008 +0000
@@ -49,6 +49,13 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default><![CDATA[0]]></default>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_MODULE" name="ADMODULE_ADVALRULE">
+        <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
+      </foreign-key>
       <foreign-key foreignTable="AD_CLIENT" name="VAL_RULECLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>