[open-ils-commits] r18365 - trunk/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Oct 16 11:35:42 EDT 2010
Author: miker
Date: 2010-10-16 11:35:39 -0400 (Sat, 16 Oct 2010)
New Revision: 18365
Modified:
trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
Log:
need to update this index as well
Modified: trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql 2010-10-16 15:32:32 UTC (rev 18364)
+++ trunk/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql 2010-10-16 15:35:39 UTC (rev 18365)
@@ -1,6 +1,10 @@
-- Before starting the transaction: drop some constraints that
-- may or may not exist.
+DROP INDEX asset.asset_call_number_upper_label_id_owning_lib_idx;
+CREATE INDEX asset_call_number_upper_label_id_owning_lib_idx ON asset.call_number (oils_text_as_bytea(upper(label)),id,owning_lib);
+
+
\qecho Before starting the transaction: drop some constraints.
\qecho If a DROP fails because the constraint doesn't exist, ignore the failure.
More information about the open-ils-commits
mailing list