src-db/database/model/tables/AD_FIELDGROUP_TRL.xml
changeset 1605 8a0fe0193bef
parent 1519 d04b4c2dcbdb
child 5551 7a30caea85b5
equal deleted inserted replaced
1604:a1c518e6ed93 1605:8a0fe0193bef
     1 <?xml version="1.0"?>
     1 <?xml version="1.0"?>
     2   <database name="TABLE AD_FIELDGROUP_TRL">
     2   <database name="TABLE AD_FIELDGROUP_TRL">
     3     <table name="AD_FIELDGROUP_TRL" primaryKey="AD_FIELDGROUP_TRL_KEY">
     3     <table name="AD_FIELDGROUP_TRL" primaryKey="AD_FIELDGROUP_TRL_KEY">
     4       <column name="AD_FIELDGROUP_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     4       <column name="AD_FIELDGROUP_TRL_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     5         <default/>
       
     6         <onCreateDefault><![CDATA[get_uuid()]]></onCreateDefault>
       
     7       </column>
       
     8       <column name="AD_FIELDGROUP_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     5         <default/>
     9         <default/>
     6         <onCreateDefault/>
    10         <onCreateDefault/>
     7       </column>
    11       </column>
     8       <column name="AD_LANGUAGE" primaryKey="true" required="true" type="VARCHAR" size="6" autoIncrement="false">
    12       <column name="AD_LANGUAGE" primaryKey="false" required="true" type="VARCHAR" size="6" autoIncrement="false">
     9         <default/>
    13         <default/>
    10         <onCreateDefault/>
    14         <onCreateDefault/>
    11       </column>
    15       </column>
    12       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    16       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    13         <default/>
    17         <default/>
    14         <onCreateDefault/>
    18         <onCreateDefault/>
    15       </column>
    19       </column>
    16       <column name="AD_ORG_ID" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    20       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    17         <default/>
    21         <default/>
    18         <onCreateDefault/>
    22         <onCreateDefault/>
    19       </column>
    23       </column>
    20       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    24       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
    21         <default><![CDATA[Y]]></default>
    25         <default><![CDATA[Y]]></default>
    23       </column>
    27       </column>
    24       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    28       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    25         <default><![CDATA[SYSDATE]]></default>
    29         <default><![CDATA[SYSDATE]]></default>
    26         <onCreateDefault/>
    30         <onCreateDefault/>
    27       </column>
    31       </column>
    28       <column name="CREATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    32       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    29         <default/>
    33         <default/>
    30         <onCreateDefault/>
    34         <onCreateDefault/>
    31       </column>
    35       </column>
    32       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    36       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
    33         <default><![CDATA[SYSDATE]]></default>
    37         <default><![CDATA[SYSDATE]]></default>
    34         <onCreateDefault/>
    38         <onCreateDefault/>
    35       </column>
    39       </column>
    36       <column name="UPDATEDBY" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    40       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
    37         <default/>
    41         <default/>
    38         <onCreateDefault/>
    42         <onCreateDefault/>
    39       </column>
    43       </column>
    40       <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
    44       <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
    41         <default/>
    45         <default/>
    55         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    59         <reference local="AD_LANGUAGE" foreign="AD_LANGUAGE"/>
    56       </foreign-key>
    60       </foreign-key>
    57       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIELDGROUPTRL">
    61       <foreign-key foreignTable="AD_ORG" name="ADORG_ADFIELDGROUPTRL">
    58         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    62         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    59       </foreign-key>
    63       </foreign-key>
       
    64       <unique name="ADFIELDGROUPTRL_ADFIELDGROU_UN">
       
    65         <unique-column name="AD_FIELDGROUP_ID"/>
       
    66         <unique-column name="AD_LANGUAGE"/>
       
    67       </unique>
    60       <check name="ADFIELDGRTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    68       <check name="ADFIELDGRTRL_IS_ANSLATED_CHECK"><![CDATA[ISTRANSLATED IN ('Y', 'N')]]></check>
    61       <check name="ADFIELDGRTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    69       <check name="ADFIELDGRTRL_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
    62     </table>
    70     </table>
    63   </database>
    71   </database>