taylor 2004/03/15 11:30:56
Modified: src/schema registry-schema.xml
Log:
changed entity database schema
Revision Changes Path
1.4 +8 -4 jakarta-jetspeed-2/src/schema/registry-schema.xml
Index: registry-schema.xml
===================================================================
RCS file: /home/cvs/jakarta-jetspeed-2/src/schema/registry-schema.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- registry-schema.xml 11 Mar 2004 20:30:21 -0000 1.3
+++ registry-schema.xml 15 Mar 2004 19:30:56 -0000 1.4
@@ -122,13 +122,17 @@
<!--
Portlet Entity
- Represents the managed state of individual portlet
- instance within a "page"
+ Represents the managed state of individual portlet instance within a "page"
+ The instance within a "page" key is based on Window ID + principal
+ Without the principal, the key represents the default preferences for the
window
-->
<table name="PORTLET_ENTITY">
- <column name="ID" primaryKey="true" required="true" type="INTEGER"/>
+ <column name="OID" primaryKey="true" required="true" type="INTEGER"/>
<column name="PORTLET_DEFINITION_ID" required="true" type="INTEGER"/>
- <column name="GUID" required="true" size="255" type="VARCHAR"/>
+ <column name="ID" required="true" size="255" type="VARCHAR"/>
+ <unique name="UK_ENTITY_ID">
+ <unique-column name="ID"/>
+ </unique>
</table>
<!--
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]