modules/org.openbravo.service.integration.google/src-db/database/model/tables/OBSEIG_DEFAULTS.xml
changeset 13377 061e041754e6
child 13427 f830dbe7a70c
equal deleted inserted replaced
13376:db596e1cae07 13377:061e041754e6
       
     1 <?xml version="1.0"?>
       
     2   <database name="TABLE OBSEIG_DEFAULTS">
       
     3     <table name="OBSEIG_DEFAULTS" primaryKey="OBSEIG_DEFAULT_KEY">
       
     4       <column name="OBSEIG_DEFAULTS_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     5         <default/>
       
     6         <onCreateDefault/>
       
     7       </column>
       
     8       <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
     9         <default/>
       
    10         <onCreateDefault/>
       
    11       </column>
       
    12       <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    13         <default/>
       
    14         <onCreateDefault/>
       
    15       </column>
       
    16       <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
    17         <default><![CDATA[Y]]></default>
       
    18         <onCreateDefault/>
       
    19       </column>
       
    20       <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    21         <default><![CDATA[SYSDATE]]></default>
       
    22         <onCreateDefault/>
       
    23       </column>
       
    24       <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    25         <default/>
       
    26         <onCreateDefault/>
       
    27       </column>
       
    28       <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
       
    29         <default><![CDATA[SYSDATE]]></default>
       
    30         <onCreateDefault/>
       
    31       </column>
       
    32       <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    33         <default/>
       
    34         <onCreateDefault/>
       
    35       </column>
       
    36       <column name="AD_ROLE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
       
    37         <default/>
       
    38         <onCreateDefault/>
       
    39       </column>
       
    40       <column name="ISDEFAULT" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
    41         <default><![CDATA[N]]></default>
       
    42         <onCreateDefault/>
       
    43       </column>
       
    44       <column name="ISNEWUSERACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
       
    45         <default><![CDATA[N]]></default>
       
    46         <onCreateDefault/>
       
    47       </column>
       
    48       <foreign-key foreignTable="AD_CLIENT" name="OBSEIG_DEFAULT_AD_CLIENT">
       
    49         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       
    50       </foreign-key>
       
    51       <foreign-key foreignTable="AD_ORG" name="OBSEIG_DEFAULT_AD_ORG">
       
    52         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       
    53       </foreign-key>
       
    54       <foreign-key foreignTable="AD_ROLE" name="OBSEIG_DEFAULT_AD_ROLE">
       
    55         <reference local="AD_ROLE_ID" foreign="AD_ROLE_ID"/>
       
    56       </foreign-key>
       
    57       <check name="OBSEIG_DEF_NEWUACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
    58       <check name="OBSEIG_DEFAULT_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
    59       <check name="OBSEIG_DEFAULT_ISDEFAULT_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       
    60     </table>
       
    61   </database>