src-db/database/model/tables/AD_VAL_RULE.xml
changeset 799 fef2c5e2feb7
parent 756 ae11e4610537
child 1605 8a0fe0193bef
equal deleted inserted replaced
798:4994e5a604bb 799:fef2c5e2feb7
    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="ENTITYTYPE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
       
    53         <default><![CDATA[D]]></default>
       
    54         <onCreateDefault/>
       
    55       </column>
       
    56       <foreign-key foreignTable="AD_CLIENT" name="VAL_RULECLIENT">
    52       <foreign-key foreignTable="AD_CLIENT" name="VAL_RULECLIENT">
    57         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    53         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
    58       </foreign-key>
    54       </foreign-key>
    59       <foreign-key foreignTable="AD_ORG" name="VAL_RULEORG">
    55       <foreign-key foreignTable="AD_ORG" name="VAL_RULEORG">
    60         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    56         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>