Poked by scottmk to incorporate 0438 into the 1.6.1-2.0 upgrade script. This may...
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Oct 2010 17:32:40 +0000 (17:32 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 15 Oct 2010 17:32:40 +0000 (17:32 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18356 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql

index 99d3b40..af02ede 100644 (file)
@@ -14,6 +14,9 @@ ALTER TABLE booking.resource_type          DROP CONSTRAINT brt_name_once_per_own
 
 BEGIN;
 
+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 (cast(upper(label) as bytea),id,owning_lib);
+
 -- Highest-numbered individual upgrade script incorporated herein:
 
 INSERT INTO config.upgrade_log (version) VALUES ('0433');