modules/org.openbravo.service.integration.openid/src-db/database/model/tables/OBSOID_USER_IDENTIFIER.xml
author RM packaging bot <staff.rm@openbravo.com>
Fri, 25 May 2018 11:42:27 +0000
changeset 34019 608c319c941f
parent 26718 02b3ccc6fd3f
permissions -rw-r--r--
CI: update AD_MODULE to version 34018
david@26713
     1
<?xml version="1.0"?>
david@26713
     2
  <database name="TABLE OBSOID_USER_IDENTIFIER">
david@26713
     3
    <table name="OBSOID_USER_IDENTIFIER" primaryKey="OBSOID_USER_OID_KEY">
david@26713
     4
      <column name="OBSOID_USER_IDENTIFIER_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
     5
        <default/>
david@26713
     6
        <onCreateDefault/>
david@26713
     7
      </column>
david@26713
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
     9
        <default/>
david@26713
    10
        <onCreateDefault/>
david@26713
    11
      </column>
david@26713
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
    13
        <default/>
david@26713
    14
        <onCreateDefault/>
david@26713
    15
      </column>
david@26713
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
david@26713
    17
        <default><![CDATA[Y]]></default>
david@26713
    18
        <onCreateDefault/>
david@26713
    19
      </column>
david@26713
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
david@26713
    21
        <default><![CDATA[SYSDATE]]></default>
david@26713
    22
        <onCreateDefault/>
david@26713
    23
      </column>
david@26713
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
    25
        <default/>
david@26713
    26
        <onCreateDefault/>
david@26713
    27
      </column>
david@26713
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
david@26713
    29
        <default><![CDATA[SYSDATE]]></default>
david@26713
    30
        <onCreateDefault/>
david@26713
    31
      </column>
david@26713
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
    33
        <default/>
david@26713
    34
        <onCreateDefault/>
david@26713
    35
      </column>
david@26713
    36
      <column name="AD_USER_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
david@26713
    37
        <default/>
david@26713
    38
        <onCreateDefault/>
david@26713
    39
      </column>
david@26713
    40
      <column name="OPENID_IDENTIFIER" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false">
david@26713
    41
        <default/>
david@26713
    42
        <onCreateDefault/>
david@26713
    43
      </column>
david@26713
    44
      <foreign-key foreignTable="AD_CLIENT" name="OBSOID_USER_OID_AD_CLIENT">
david@26713
    45
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
david@26713
    46
      </foreign-key>
david@26713
    47
      <foreign-key foreignTable="AD_ORG" name="OBSOID_USER_OID_AD_ORG">
david@26713
    48
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
david@26713
    49
      </foreign-key>
david@26713
    50
      <foreign-key foreignTable="AD_USER" name="OBSOID_USER_OID_AD_USER">
david@26713
    51
        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
david@26713
    52
      </foreign-key>
david@26713
    53
      <index name="OBSOID_USERIDENTIFIER_USER_IDX" unique="false">
david@26713
    54
        <index-column name="AD_USER_ID"/>
david@26713
    55
      </index>
david@26713
    56
      <unique name="OBSOID_UN_IDENTIFIER">
david@26713
    57
        <unique-column name="OPENID_IDENTIFIER"/>
david@26713
    58
      </unique>
david@26713
    59
      <check name="OBSOID_USER_OID_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
david@26713
    60
    </table>
david@26713
    61
  </database>