src-db/database/model/tables/AD_TAB_TRL.xml
changeset 5551 7a30caea85b5
parent 1605 8a0fe0193bef
child 8504 802eae4a434d
equal deleted inserted replaced
5550:055ee9baf5df 5551:7a30caea85b5
    62         <onCreateDefault/>
    62         <onCreateDefault/>
    63       </column>
    63       </column>
    64       <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_TABTRL">
    64       <foreign-key foreignTable="AD_LANGUAGE" name="AD_LANGUAGE_TABTRL">
    65         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    65         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    66       </foreign-key>
    66       </foreign-key>
       
    67       <foreign-key foreignTable="AD_CLIENT" name="AD_TAB_TRL_AD_CLIENT">
       
    68         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
    69       </foreign-key>
       
    70       <foreign-key foreignTable="AD_ORG" name="AD_TAB_TRL_AD_ORG">
       
    71         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    72       </foreign-key>
    67       <foreign-key foreignTable="AD_TAB" name="AD_TABTRL" onDelete="cascade">
    73       <foreign-key foreignTable="AD_TAB" name="AD_TABTRL" onDelete="cascade">
    68         <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
    74         <reference local="AD_TAB_ID" foreign="AD_TAB_ID"/>
    69       </foreign-key>
    75       </foreign-key>
    70       <foreign-key foreignTable="AD_CLIENT" name="ADCLIENT_ADTABTRL">
    76       <unique name="AD_TAB_TRL_TAB_LANGUAGE_UN">
    71         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
    72       </foreign-key>
       
    73       <foreign-key foreignTable="AD_ORG" name="ADORG_ADTABTRL">
       
    74         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    75       </foreign-key>
       
    76       <unique name="ADTABTRL_ADTABID_ADLANGUAGE_UN">
       
    77         <unique-column name="AD_TAB_ID"/>
    77         <unique-column name="AD_TAB_ID"/>
    78         <unique-column name="AD_LANGUAGE"/>
    78         <unique-column name="AD_LANGUAGE"/>
    79       </unique>
    79       </unique>
    80       <check name="ADTABTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    80       <check name="AD_TABTRL_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    81       <check name="ADTABTRL_ISTRANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    81       <check name="AD_TABTRL_ISTRANSLATED_CHK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    82     </table>
    82     </table>
    83   </database>
    83   </database>