[jboss-svn-commits] JBL Code SVN: r25614 - labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/resources.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Mar 12 08:58:13 EDT 2009
Author: lkrzyzanek
Date: 2009-03-12 08:58:13 -0400 (Thu, 12 Mar 2009)
New Revision: 25614
Modified:
labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/resources/schema.xml
Log:
added indexes and constrains
Modified: labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/resources/schema.xml
===================================================================
--- labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/resources/schema.xml 2009-03-12 12:20:13 UTC (rev 25613)
+++ labs/jbosslabs/labs-3.0-build/integration/cs-hfurl/src/main/resources/schema.xml 2009-03-12 12:58:13 UTC (rev 25614)
@@ -2,8 +2,10 @@
<schema name="humanFriendlyURL">
<table name="humanFriendlyURLMap" description="Table for human friendly URL map between HF Title and Doc ID">
<column name="id" type="bigint" nullable="false" description="Primary key"/>
- <column name="documentID" type="varchar" size="255" nullable="false" description="Document ID" />
+ <column name="documentID" type="varchar" size="255" nullable="false" constraint="unique" description="Document ID" />
<column name="hfTitle" type="varchar" size="255" nullable="false" description="Human friendly Title" />
<index type="primary" name="hfURLMap_pk" column="id" />
+ <index type="normal" name="hfURLMap_documentID_idx" column="documentID"/>
+ <index type="normal" name="hfURLMap_hfTitle_idx" column="hfTitle"/>
</table>
-</schema>
\ No newline at end of file
+</schema>
More information about the jboss-svn-commits
mailing list