[open-ils-commits] r13373 - trunk/Open-ILS/src/sql/Pg (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Thu Jun 11 16:43:11 EDT 2009


Author: scottmk
Date: 2009-06-11 16:43:07 -0400 (Thu, 11 Jun 2009)
New Revision: 13373

Modified:
   trunk/Open-ILS/src/sql/Pg/070.schema.container.sql
Log:
Add index so that we can readily find all the
items in a given copy_bucket.


Modified: trunk/Open-ILS/src/sql/Pg/070.schema.container.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/070.schema.container.sql	2009-06-11 18:23:52 UTC (rev 13372)
+++ trunk/Open-ILS/src/sql/Pg/070.schema.container.sql	2009-06-11 20:43:07 UTC (rev 13373)
@@ -63,6 +63,7 @@
     pos         INT,
 	create_time	TIMESTAMP WITH TIME ZONE	NOT NULL DEFAULT NOW()
 );
+CREATE INDEX copy_bucket_item_bucket_idx ON container.copy_bucket_item (bucket);
 
 CREATE TABLE container.copy_bucket_item_note (
     id      SERIAL      PRIMARY KEY,



More information about the open-ils-commits mailing list