src-db/database/model/tables/AD_HEARTBEAT_LOG.xml
author Martin Taal <martin.taal@openbravo.com>
Wed, 28 Jan 2009 14:17:33 +0000
changeset 2771 3c2361b78745
parent 1605 8a0fe0193bef
child 3249 a3d17ffbed67
permissions -rw-r--r--
Fixes issue 7184, Database model validation should only log errors not stop dal-initialize process
Added missing foreign key constraints
Updated sample data, the identifier definition was apparently updated
juanpablo@721
     1
<?xml version="1.0"?>
juanpablo@721
     2
  <database name="TABLE AD_HEARTBEAT_LOG">
juanpablo@721
     3
    <table name="AD_HEARTBEAT_LOG" primaryKey="AD_HEARTBEAT_LOG_KEY">
juanpablo@1605
     4
      <column name="AD_HEARTBEAT_LOG_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     5
        <default/>
antonio@735
     6
        <onCreateDefault/>
antonio@735
     7
      </column>
juanpablo@1605
     8
      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
     9
        <default/>
antonio@735
    10
        <onCreateDefault/>
antonio@735
    11
      </column>
juanpablo@1605
    12
      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    13
        <default/>
antonio@735
    14
        <onCreateDefault/>
antonio@735
    15
      </column>
antonio@735
    16
      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
antonio@735
    17
        <default><![CDATA[Y]]></default>
antonio@735
    18
        <onCreateDefault/>
antonio@735
    19
      </column>
antonio@735
    20
      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    21
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    22
        <onCreateDefault/>
antonio@735
    23
      </column>
juanpablo@1605
    24
      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    25
        <default/>
antonio@735
    26
        <onCreateDefault/>
antonio@735
    27
      </column>
antonio@735
    28
      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
antonio@735
    29
        <default><![CDATA[SYSDATE]]></default>
antonio@735
    30
        <onCreateDefault/>
antonio@735
    31
      </column>
juanpablo@1605
    32
      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
antonio@735
    33
        <default/>
antonio@735
    34
        <onCreateDefault/>
antonio@735
    35
      </column>
antonio@735
    36
      <column name="SYSTEM_IDENTIFIER" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
antonio@735
    37
        <default/>
antonio@735
    38
        <onCreateDefault/>
antonio@735
    39
      </column>
antonio@735
    40
      <column name="ISHEARTBEATACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    41
        <default/>
antonio@735
    42
        <onCreateDefault/>
antonio@735
    43
      </column>
antonio@735
    44
      <column name="ISPROXYREQUIRED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
antonio@735
    45
        <default/>
antonio@735
    46
        <onCreateDefault/>
antonio@735
    47
      </column>
antonio@735
    48
      <column name="PROXY_SERVER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    49
        <default/>
antonio@735
    50
        <onCreateDefault/>
antonio@735
    51
      </column>
antonio@735
    52
      <column name="PROXY_PORT" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
    53
        <default/>
antonio@735
    54
        <onCreateDefault/>
antonio@735
    55
      </column>
antonio@735
    56
      <column name="ACTIVITY_RATE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    57
        <default/>
antonio@735
    58
        <onCreateDefault/>
antonio@735
    59
      </column>
antonio@735
    60
      <column name="COMPLEXITY_RATE" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
antonio@735
    61
        <default/>
antonio@735
    62
        <onCreateDefault/>
antonio@735
    63
      </column>
antonio@735
    64
      <column name="OS" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    65
        <default/>
antonio@735
    66
        <onCreateDefault/>
antonio@735
    67
      </column>
antonio@735
    68
      <column name="OS_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    69
        <default/>
antonio@735
    70
        <onCreateDefault/>
antonio@735
    71
      </column>
antonio@735
    72
      <column name="DB" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    73
        <default/>
antonio@735
    74
        <onCreateDefault/>
antonio@735
    75
      </column>
antonio@735
    76
      <column name="DB_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    77
        <default/>
antonio@735
    78
        <onCreateDefault/>
antonio@735
    79
      </column>
antonio@735
    80
      <column name="SERVLET_CONTAINER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    81
        <default/>
antonio@735
    82
        <onCreateDefault/>
antonio@735
    83
      </column>
antonio@735
    84
      <column name="SERVLET_CONTAINER_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    85
        <default/>
antonio@735
    86
        <onCreateDefault/>
antonio@735
    87
      </column>
antonio@735
    88
      <column name="WEBSERVER" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    89
        <default/>
antonio@735
    90
        <onCreateDefault/>
antonio@735
    91
      </column>
antonio@735
    92
      <column name="WEBSERVER_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    93
        <default/>
antonio@735
    94
        <onCreateDefault/>
antonio@735
    95
      </column>
antonio@735
    96
      <column name="JAVA_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
    97
        <default/>
antonio@735
    98
        <onCreateDefault/>
antonio@735
    99
      </column>
antonio@735
   100
      <column name="ANT_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   101
        <default/>
antonio@735
   102
        <onCreateDefault/>
antonio@735
   103
      </column>
antonio@735
   104
      <column name="OB_VERSION" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   105
        <default/>
antonio@735
   106
        <onCreateDefault/>
antonio@735
   107
      </column>
antonio@735
   108
      <column name="OB_INSTALLMODE" primaryKey="false" required="false" type="NVARCHAR" size="20" autoIncrement="false">
antonio@735
   109
        <default/>
antonio@735
   110
        <onCreateDefault/>
antonio@735
   111
      </column>
antonio@735
   112
      <column name="NUM_REGISTERED_USERS" primaryKey="false" required="true" type="DECIMAL" size="10,0" autoIncrement="false">
antonio@735
   113
        <default/>
antonio@735
   114
        <onCreateDefault/>
antonio@735
   115
      </column>
anthony@929
   116
      <column name="CODE_REVISION" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
anthony@929
   117
        <default><![CDATA[0]]></default>
anthony@929
   118
        <onCreateDefault/>
anthony@929
   119
      </column>
martin@2771
   120
      <foreign-key foreignTable="AD_CLIENT" name="AD_HEARTBEAT_LOG_AD_CLIENT">
martin@2771
   121
        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
martin@2771
   122
      </foreign-key>
martin@2771
   123
      <foreign-key foreignTable="AD_ORG" name="AD_HEARTBEAT_LOG_AD_ORG">
martin@2771
   124
        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
martin@2771
   125
      </foreign-key>
juanpablo@721
   126
    </table>
juanpablo@721
   127
  </database>