You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by jv...@apache.org on 2001/08/31 09:07:50 UTC

cvs commit: jakarta-turbine-torque/src/schema id-table-schema.xml

jvanzyl     01/08/31 00:07:50

  Added:       src/schema id-table-schema.xml
  Log:
  - moving the id table schema into torque
  
  Revision  Changes    Path
  1.1                  jakarta-turbine-torque/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://java.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 Turbine.           -->
  <!-- ==================================================================== -->
  <!-- @author: <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a>      -->
  <!-- @version $Id: id-table-schema.xml,v 1.1 2001/08/31 07:07:50 jvanzyl Exp $ -->
  <!-- ==================================================================== -->
  
  <database>
    <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>  
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org