src-db/database/model/tables/AD_PINSTANCE_PARA.xml
changeset 1605 8a0fe0193bef
parent 756 ae11e4610537
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_PINSTANCE_PARA">
     2   <database name="TABLE AD_PINSTANCE_PARA">
     3     <table name="AD_PINSTANCE_PARA" primaryKey="AD_PINSTANCE_PARA_KEY">
     3     <table name="AD_PINSTANCE_PARA" primaryKey="AD_PINSTANCE_PARA_KEY">
     4       <column name="AD_PINSTANCE_ID" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
     4       <column name="AD_PINSTANCE_PARA_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_PINSTANCE_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="SEQNO" primaryKey="true" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
    12       <column name="SEQNO" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
     9         <default/>
    13         <default/>
    10         <onCreateDefault/>
    14         <onCreateDefault/>
    11       </column>
    15       </column>
    12       <column name="PARAMETERNAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    16       <column name="PARAMETERNAME" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    13         <default/>
    17         <default/>
    43       </column>
    47       </column>
    44       <column name="INFO_TO" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    48       <column name="INFO_TO" primaryKey="false" required="false" type="NVARCHAR" size="60" autoIncrement="false">
    45         <default/>
    49         <default/>
    46         <onCreateDefault/>
    50         <onCreateDefault/>
    47       </column>
    51       </column>
    48       <column name="AD_CLIENT_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    52       <column name="AD_CLIENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    49         <default/>
    53         <default/>
    50         <onCreateDefault/>
    54         <onCreateDefault/>
    51       </column>
    55       </column>
    52       <column name="AD_ORG_ID" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    56       <column name="AD_ORG_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    53         <default/>
    57         <default/>
    54         <onCreateDefault/>
    58         <onCreateDefault/>
    55       </column>
    59       </column>
    56       <column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
    60       <column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
    57         <default><![CDATA[SYSDATE]]></default>
    61         <default><![CDATA[SYSDATE]]></default>
    58         <onCreateDefault/>
    62         <onCreateDefault/>
    59       </column>
    63       </column>
    60       <column name="CREATEDBY" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    64       <column name="CREATEDBY" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    61         <default/>
    65         <default/>
    62         <onCreateDefault/>
    66         <onCreateDefault/>
    63       </column>
    67       </column>
    64       <column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
    68       <column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false">
    65         <default><![CDATA[SYSDATE]]></default>
    69         <default><![CDATA[SYSDATE]]></default>
    66         <onCreateDefault/>
    70         <onCreateDefault/>
    67       </column>
    71       </column>
    68       <column name="UPDATEDBY" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
    72       <column name="UPDATEDBY" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
    69         <default/>
    73         <default/>
    70         <onCreateDefault/>
    74         <onCreateDefault/>
    71       </column>
    75       </column>
    72       <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
    76       <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
    73         <default><![CDATA[Y]]></default>
    77         <default><![CDATA[Y]]></default>
    80         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    84         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
    81       </foreign-key>
    85       </foreign-key>
    82       <foreign-key foreignTable="AD_PINSTANCE" name="ADPINSTANCE_ADPINSTANCEPARA" onDelete="cascade">
    86       <foreign-key foreignTable="AD_PINSTANCE" name="ADPINSTANCE_ADPINSTANCEPARA" onDelete="cascade">
    83         <reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
    87         <reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
    84       </foreign-key>
    88       </foreign-key>
       
    89       <unique name="ADPINSTANCEPARA_ADPINSTANCE_UN">
       
    90         <unique-column name="AD_PINSTANCE_ID"/>
       
    91         <unique-column name="SEQNO"/>
       
    92       </unique>
    85     </table>
    93     </table>
    86   </database>
    94   </database>