<?xml version="1.0"?>
<!DOCTYPE database SYSTEM "http://db.apache.org/torque/dtd/database">
  <database name="default" defaultIdMethod="none">
    <table name="AD_PINSTANCE_PARA">
      <column name="AD_PINSTANCE_ID" primaryKey="true" required="true" type="ID" size="10" autoIncrement="false"/>
      <column name="SEQNO" primaryKey="true" required="true" type="DECIMAL" size="10" autoIncrement="false"/>
      <column name="PARAMETERNAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="P_STRING" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="P_STRING_TO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="P_NUMBER" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
      <column name="P_NUMBER_TO" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false"/>
      <column name="P_DATE" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
      <column name="P_DATE_TO" primaryKey="false" required="false" type="TIMESTAMP" size="7" autoIncrement="false"/>
      <column name="INFO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="INFO_TO" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false"/>
      <column name="AD_CLIENT_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
      <column name="AD_ORG_ID" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
      <column name="CREATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
      <column name="CREATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
      <column name="UPDATED" primaryKey="false" required="false" type="TIMESTAMP" size="7" default="CURRENT_TIMESTAMP" autoIncrement="false"/>
      <column name="UPDATEDBY" primaryKey="false" required="false" type="ID" size="10" autoIncrement="false"/>
      <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" default="Y" autoIncrement="false"/>
      <foreign-key foreignTable="AD_PINSTANCE" name="ADPINSTANCE_ADPINSTANCEPARA" onDelete="cascade">
        <reference local="AD_PINSTANCE_ID" foreign="AD_PINSTANCE_ID"/>
      </foreign-key>
    </table>
  </database>