[open-ils-commits] r17541 - in trunk/Open-ILS/src/sql/Pg: . upgrade (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 9 11:31:26 EDT 2010
Author: miker
Date: 2010-09-09 11:31:23 -0400 (Thu, 09 Sep 2010)
New Revision: 17541
Added:
trunk/Open-ILS/src/sql/Pg/upgrade/0390.schema.usrgroup-index.sql
Modified:
trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
Log:
With group billing calls we need a new index
Modified: trunk/Open-ILS/src/sql/Pg/002.schema.config.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-09 14:22:22 UTC (rev 17540)
+++ trunk/Open-ILS/src/sql/Pg/002.schema.config.sql 2010-09-09 15:31:23 UTC (rev 17541)
@@ -68,7 +68,7 @@
install_date TIMESTAMP WITH TIME ZONE NOT NULL DEFAULT NOW()
);
-INSERT INTO config.upgrade_log (version) VALUES ('0389'); -- miker
+INSERT INTO config.upgrade_log (version) VALUES ('0390'); -- miker
CREATE TABLE config.bib_source (
id SERIAL PRIMARY KEY,
Modified: trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2010-09-09 14:22:22 UTC (rev 17540)
+++ trunk/Open-ILS/src/sql/Pg/005.schema.actors.sql 2010-09-09 15:31:23 UTC (rev 17541)
@@ -93,6 +93,7 @@
$$;
CREATE INDEX actor_usr_home_ou_idx ON actor.usr (home_ou);
+CREATE INDEX actor_usr_usrgroup_idx ON actor.usr (usrgroup);
CREATE INDEX actor_usr_mailing_address_idx ON actor.usr (mailing_address);
CREATE INDEX actor_usr_billing_address_idx ON actor.usr (billing_address);
Added: trunk/Open-ILS/src/sql/Pg/upgrade/0390.schema.usrgroup-index.sql
===================================================================
--- trunk/Open-ILS/src/sql/Pg/upgrade/0390.schema.usrgroup-index.sql (rev 0)
+++ trunk/Open-ILS/src/sql/Pg/upgrade/0390.schema.usrgroup-index.sql 2010-09-09 15:31:23 UTC (rev 17541)
@@ -0,0 +1,7 @@
+BEGIN;
+
+INSERT INTO config.upgrade_log (version) VALUES ('0390'); -- miker
+CREATE INDEX actor_usr_usrgroup_idx ON actor.usr (usrgroup);
+
+COMMIT;
+
More information about the open-ils-commits
mailing list