taylor      2004/07/09 14:51:01

  Modified:    src/torque-schema registry-schema.xml
  Log:
  updating the names of registsry tables with PREFIX of J1R_
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.3       +10 -10    jakarta-jetspeed/src/torque-schema/registry-schema.xml
  
  Index: registry-schema.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed/src/torque-schema/registry-schema.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- registry-schema.xml       3 Jun 2004 21:39:33 -0000       1.2
  +++ registry-schema.xml       9 Jul 2004 21:51:01 -0000       1.3
  @@ -32,7 +32,7 @@
   <!-- ==================================================================== -->
   
   <database package="org.apache.jetspeed.om.dbregistry">
  -   <table name="PORTLET" idMethod="native" javaName="PortletDbEntry">
  +   <table name="J1R_PORTLET" idMethod="native" javaName="PortletDbEntry">
         <column name="ID" required="true" primaryKey="true" autoIncrement="true" 
type="BIGINT"/>
         <column name="NAME" required="true" size="128" type="VARCHAR"/>
         <column name="HIDDEN"  type="BOOLEANINT" default="0"/>
  @@ -54,7 +54,7 @@
         
      </table>
      
  -   <table name="MEDIATYPE" idMethod="native">
  +   <table name="J1R_MEDIATYPE" idMethod="native">
         <column name="ID" required="true" primaryKey="true" autoIncrement="true" 
type="BIGINT"/>
         <column name="NAME" required="true" size="128" type="VARCHAR"/>
         <column name="HIDDEN" type="BOOLEANINT" default="0"/>
  @@ -69,20 +69,20 @@
          </unique>
         
      </table>
  -   <table name="CATEGORY" idMethod="native" javaName="PortletCategory">
  +   <table name="J1R_CATEGORY" idMethod="native" javaName="PortletCategory">
         <column name="ID" required="true" primaryKey="true" autoIncrement="true" 
type="BIGINT"/>
         <column name="NAME" required="true" size="128" type="VARCHAR"/>
         <column name="GROUPE" size="128" type="VARCHAR" required="true" 
javaName="Group"/>
          <column name="OWNER"  type="BIGINT"/>
          
  -      <foreign-key foreignTable="PORTLET" onDelete="cascade">
  +      <foreign-key foreignTable="J1R_PORTLET" onDelete="cascade">
             <reference local="OWNER" foreign="ID"/>
         </foreign-key>
         
      </table>
   
   
  -   <table name="PORTLET_PARAMETER" idMethod="native">
  +   <table name="J1R_PORTLET_PARAMETER" idMethod="native">
         <column name="ID" required="true" primaryKey="true" autoIncrement="true" 
type="BIGINT"/>
         <column name="NAME" required="true" size="128" type="VARCHAR"/>
         <column name="VALUE" size="256" type="VARCHAR" default="0"/>
  @@ -97,21 +97,21 @@
          <column name="PORTLET_ID" type="BIGINT" />
          <column name="SECURITY" size="500" type="VARCHAR" javaName="securityRef"/>
   
  -      <foreign-key foreignTable="PORTLET" onDelete="cascade">
  +      <foreign-key foreignTable="J1R_PORTLET" onDelete="cascade">
             <reference local="PORTLET_ID" foreign="ID"/>
          </foreign-key>
   
      </table>
   
  -   <table name="PORTLET_MEDIATYPE" idMethod="native">
  +   <table name="J1R_PORTLET_MEDIATYPE" idMethod="native">
         <column name="ID" required="true"  type="BIGINT"/>
          <column name="MEDIA_ID"  type="BIGINT"/>
          
  -      <foreign-key foreignTable="PORTLET" onDelete="cascade">
  +      <foreign-key foreignTable="J1R_PORTLET" onDelete="cascade">
             <reference local="ID" foreign="ID"/>
         </foreign-key>
   
  -      <foreign-key foreignTable="MEDIATYPE" onDelete="cascade">
  +      <foreign-key foreignTable="J1R_MEDIATYPE" onDelete="cascade">
             <reference local="MEDIA_ID" foreign="ID"/>
         </foreign-key>
         
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to