db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpoes...@apache.org
Subject cvs commit: db-torque/src/schema id-table-schema.xml
Date Fri, 18 Apr 2003 07:40:08 GMT
mpoeschl    2003/04/18 00:40:08

  Added:       src/generator/src/schema id-table-schema.xml
  Removed:     src/schema id-table-schema.xml
  Log:
  move idbroker schema to generator
  
  Revision  Changes    Path
  1.1                  db-torque/src/generator/src/schema/id-table-schema.xml
  
  Index: id-table-schema.xml
  ===================================================================
  <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
  <!DOCTYPE database SYSTEM "http://jakarta.apache.org/turbine/dtd/database.dtd">
  
  <!-- ==================================================================== -->
  <!--                                                                      -->
  <!-- I D  B R O K E R  S C H E M A                                        -->
  <!--                                                                      -->
  <!-- ==================================================================== -->
  <!-- This is the XML schema use by Torque to generate the SQL for         -->
  <!-- ID_TABLE table used by the id broker mechanism in Torque.            -->
  <!-- ==================================================================== -->
  <!-- @author: <a href="mailto:jvanzyl@apache.org">Jason van Zyl</a>     
 -->
  <!-- @version $Id: id-table-schema.xml,v 1.1 2003/04/18 07:40:08 mpoeschl Exp $ -->
  <!-- ==================================================================== -->
  
  <database name="@DATABASE_DEFAULT@">
    <table name="ID_TABLE" idMethod="idbroker">
      <column name="ID_TABLE_ID" required="true" primaryKey="true" type="INTEGER"/>
      <column name="TABLE_NAME" required="true" size="255" type="VARCHAR"/>
      <column name="NEXT_ID" type="INTEGER"/>
      <column name="QUANTITY" type="INTEGER"/>
  
      <unique>
        <unique-column name="TABLE_NAME"/>
      </unique>
  
    </table>
  </database>
  
  
  

Mime
View raw message