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/09/29 19:14:34 UTC
cvs commit: jakarta-turbine-2/conf/master turbine-schema.xml id-table-schema.xml
jvanzyl 01/09/29 10:14:34
Modified: conf/master turbine-schema.xml
Removed: conf/master id-table-schema.xml
Log:
- combining the id-table schema with the turbine schema. even if the id table
is not used i don't think it's that big a deal. trying to reduce the number
of files. it is still easy for a project to customize so once the stub
application has been generated a project can decide not to use the id
broker (though that's probably not a good idea), and/or nuke the
scheduled job table as well.
Revision Changes Path
1.4 +14 -4 jakarta-turbine-2/conf/master/turbine-schema.xml
Index: turbine-schema.xml
===================================================================
RCS file: /home/cvs/jakarta-turbine-2/conf/master/turbine-schema.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- turbine-schema.xml 2001/09/27 04:48:27 1.3
+++ turbine-schema.xml 2001/09/29 17:14:34 1.4
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
-<!-- <!DOCTYPE database SYSTEM
-"http://java.apache.org/turbine/dtd/database.dtd"> -->
+<!-- <!DOCTYPE database SYSTEM "http://java.apache.org/turbine/dtd/database.dtd"> -->
<!-- ==================================================================== -->
<!-- -->
@@ -14,10 +13,10 @@
<!-- users, security, and job scheduling. -->
<!-- ==================================================================== -->
<!-- @author: <a href="mailto:jvanzyl@periapt.com">Jason van Zyl</a> -->
-<!-- @version $Id: turbine-schema.xml,v 1.3 2001/09/27 04:48:27 jvanzyl Exp $ -->
+<!-- @version $Id: turbine-schema.xml,v 1.4 2001/09/29 17:14:34 jvanzyl Exp $ -->
<!-- ==================================================================== -->
-<database name="@DEFAULT_DATABASE@">
+<database name="@DATABASE_DEFAULT@">
<table name="TURBINE_PERMISSION" idMethod="idbroker">
<column name="PERMISSION_ID" required="true" primaryKey="true" type="INTEGER"/>
@@ -112,6 +111,17 @@
<column name="TASK" required="true" size="99" type="VARCHAR"/>
<column name="EMAIL" size="99" type="VARCHAR"/>
<column name="PROPERTY" type="VARBINARY"/>
+ </table>
+
+ <table name="ID_TABLE">
+ <column name="ID_TABLE_ID" autoIncrement="true" 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