[open-ils-commits] r17301 - branches/rel_1_6_1/Open-ILS/src/sql/Pg (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Sat Aug 21 14:07:49 EDT 2010
Author: miker
Date: 2010-08-21 14:07:45 -0400 (Sat, 21 Aug 2010)
New Revision: 17301
Modified:
branches/rel_1_6_1/Open-ILS/src/sql/Pg/005.schema.actors.sql
branches/rel_1_6_1/Open-ILS/src/sql/Pg/1.6.1.1-1.6.1.2-upgrade-db.sql
Log:
backport of r17299: we need an index on LOWER(barcode) with r17018
Modified: branches/rel_1_6_1/Open-ILS/src/sql/Pg/005.schema.actors.sql
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/sql/Pg/005.schema.actors.sql 2010-08-21 18:05:09 UTC (rev 17300)
+++ branches/rel_1_6_1/Open-ILS/src/sql/Pg/005.schema.actors.sql 2010-08-21 18:07:45 UTC (rev 17301)
@@ -312,6 +312,7 @@
$$;
CREATE INDEX actor_card_usr_idx ON actor.card (usr);
+CREATE INDEX actor_card_barcode_lower_idx ON actor.card (lower(barcode));
CREATE TABLE actor.org_unit_type (
id SERIAL PRIMARY KEY,
Modified: branches/rel_1_6_1/Open-ILS/src/sql/Pg/1.6.1.1-1.6.1.2-upgrade-db.sql
===================================================================
--- branches/rel_1_6_1/Open-ILS/src/sql/Pg/1.6.1.1-1.6.1.2-upgrade-db.sql 2010-08-21 18:05:09 UTC (rev 17300)
+++ branches/rel_1_6_1/Open-ILS/src/sql/Pg/1.6.1.1-1.6.1.2-upgrade-db.sql 2010-08-21 18:07:45 UTC (rev 17301)
@@ -599,6 +599,7 @@
COMMIT;
+CREATE INDEX actor_card_barcode_lower_idx ON actor.card (lower(barcode));
CREATE INDEX atev_target_def_idx ON action_trigger.event (target,event_def);
-- Give circulation staff the ability to handle day-to-day booking/reservation tasks
INSERT INTO permission.grp_perm_map (grp, perm, depth, grantable) SELECT 5, id, 2, false FROM permission.perm_list WHERE code = 'ADMIN_BOOKING_RESERVATION';
More information about the open-ils-commits
mailing list