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