From: miker Date: Fri, 15 Oct 2010 17:32:40 +0000 (+0000) Subject: Poked by scottmk to incorporate 0438 into the 1.6.1-2.0 upgrade script. This may... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1d57554d869b4f1abc1b3fb2b31f1b2da377fb14;p=evergreen%2Fjoelewis.git Poked by scottmk to incorporate 0438 into the 1.6.1-2.0 upgrade script. This may duplicate effort if one is already on 1.6.1.3+ (when it exists) but there is no harm in it either. git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_2_0@18356 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql index 99d3b403d2..af02edea7d 100644 --- a/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql +++ b/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql @@ -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');