[open-ils-commits] r17749 - branches/rel_2_0/Open-ILS/src/sql/Pg (scottmk)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 16 18:08:43 EDT 2010
Author: scottmk
Date: 2010-09-16 18:08:37 -0400 (Thu, 16 Sep 2010)
New Revision: 17749
Modified:
branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
Log:
Add column usr_summary to actor.stat_cat. (This column was added
before we started maintaining individual update scripts.)
M Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql 2010-09-16 22:08:34 UTC (rev 17748)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql 2010-09-16 22:08:37 UTC (rev 17749)
@@ -17648,8 +17648,6 @@
CREATE INDEX queued_bib_record_queue_idx ON vandelay.queued_bib_record (queue);
CREATE INDEX queued_authority_record_queue_idx ON vandelay.queued_authority_record (queue);
-CREATE INDEX actor_card_barcode_lower_idx ON actor.card (lower(barcode));
-
-- Start picking up call number label prefixes and suffixes
-- from asset.copy_location
ALTER TABLE asset.copy_location ADD COLUMN label_prefix TEXT;
@@ -17862,6 +17860,9 @@
ALTER TABLE acq.provider_contact
ALTER COLUMN name SET NOT NULL;
+ALTER TABLE actor.stat_cat
+ ADD COLUMN usr_summary BOOL NOT NULL DEFAULT FALSE;
+
COMMIT;
-- Some operations go outside of the transaction, because they may
@@ -17910,6 +17911,8 @@
CREATE INDEX serial_supplement_summary_dist_idx ON serial.supplement_summary (distribution);
CREATE INDEX serial_index_summary_dist_idx ON serial.index_summary (distribution);
+CREATE INDEX actor_card_barcode_lower_idx ON actor.card (lower(barcode));
+
\qecho if the following CREATE INDEX fails, It will be necessary to do some
\qecho data cleanup as described in the comments.
More information about the open-ils-commits
mailing list