modules/org.openbravo.service.integration.openid/src-db/database/model/tables/OBSOID_USER_IDENTIFIER.xml
author Iván Perdomo <ivan.perdomo@openbravo.com>
Mon, 01 Aug 2011 19:44:15 +0200
changeset 13376 db596e1cae07
child 13415 f8c24d834286
permissions -rw-r--r--
Issue 18077: Added suppor for OpenID
ivan@13376
     1
<?xml version="1.0"?>
ivan@13376
     2
  <database name="TABLE OBSOID_USER_IDENTIFIER">
ivan@13376
     3
    <table name="OBSOID_USER_IDENTIFIER" primaryKey="OBSOID_USER_OID_KEY">
ivan@13376
     4
      <column name="OBSOID_USER_IDENTIFIER_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
     5
        <default/>
ivan@13376
     6
        <onCreateDefault/>
ivan@13376
     7
      </column>
ivan@13376
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
     9
        <default/>
ivan@13376
    10
        <onCreateDefault/>
ivan@13376
    11
      </column>
ivan@13376
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
    13
        <default/>
ivan@13376
    14
        <onCreateDefault/>
ivan@13376
    15
      </column>
ivan@13376
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
ivan@13376
    17
        <default><![CDATA[Y]]></default>
ivan@13376
    18
        <onCreateDefault/>
ivan@13376
    19
      </column>
ivan@13376
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
ivan@13376
    21
        <default><![CDATA[SYSDATE]]></default>
ivan@13376
    22
        <onCreateDefault/>
ivan@13376
    23
      </column>
ivan@13376
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
    25
        <default/>
ivan@13376
    26
        <onCreateDefault/>
ivan@13376
    27
      </column>
ivan@13376
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
ivan@13376
    29
        <default><![CDATA[SYSDATE]]></default>
ivan@13376
    30
        <onCreateDefault/>
ivan@13376
    31
      </column>
ivan@13376
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
    33
        <default/>
ivan@13376
    34
        <onCreateDefault/>
ivan@13376
    35
      </column>
ivan@13376
    36
      <column name="AD_USER_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
ivan@13376
    37
        <default/>
ivan@13376
    38
        <onCreateDefault/>
ivan@13376
    39
      </column>
ivan@13376
    40
      <column name="OPENID_IDENTIFIER" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false">
ivan@13376
    41
        <default/>
ivan@13376
    42
        <onCreateDefault/>
ivan@13376
    43
      </column>
ivan@13376
    44
      <foreign-key foreignTable="AD_CLIENT" name="OBSOID_USER_OID_AD_CLIENT">
ivan@13376
    45
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
ivan@13376
    46
      </foreign-key>
ivan@13376
    47
      <foreign-key foreignTable="AD_ORG" name="OBSOID_USER_OID_AD_ORG">
ivan@13376
    48
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
ivan@13376
    49
      </foreign-key>
ivan@13376
    50
      <foreign-key foreignTable="AD_USER" name="OBSOID_USER_OID_AD_USER">
ivan@13376
    51
        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
ivan@13376
    52
      </foreign-key>
ivan@13376
    53
      <check name="OBSOID_USER_OID_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
ivan@13376
    54
    </table>
ivan@13376
    55
  </database>