src-db/database/model/tables/AD_VAL_RULE.xml
changeset 1644 b425d9163510
parent 1605 8a0fe0193bef
child 2276 6f0fae641f4f
equal deleted inserted replaced
1643:91bbf0eff08a 1644:b425d9163510
    47       </column>
    47       </column>
    48       <column name="CODE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
    48       <column name="CODE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
    49         <default/>
    49         <default/>
    50         <onCreateDefault/>
    50         <onCreateDefault/>
    51       </column>
    51       </column>
       
    52       <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    53         <default><![CDATA[0]]></default>
       
    54         <onCreateDefault/>
       
    55       </column>
       
    56       <foreign-key foreignTable="AD_MODULE" name="ADMODULE_ADVALRULE">
       
    57         <reference local="AD_MODULE_ID" foreign="AD_MODULE_ID"/>
       
    58       </foreign-key>
    52       <foreign-key foreignTable="AD_CLIENT" name="VAL_RULECLIENT">
    59       <foreign-key foreignTable="AD_CLIENT" name="VAL_RULECLIENT">
    53         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    60         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    54       </foreign-key>
    61       </foreign-key>
    55       <foreign-key foreignTable="AD_ORG" name="VAL_RULEORG">
    62       <foreign-key foreignTable="AD_ORG" name="VAL_RULEORG">
    56         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    63         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>