SCPL: tweaks to schema upgrade script
authorGalen Charlton <gmc@esilibrary.com>
Tue, 30 Oct 2012 18:58:27 +0000 (14:58 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 30 Oct 2012 18:58:27 +0000 (14:58 -0400)
- keep track of start and end times for the big transaction
- no circ grace period

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

Open-ILS/src/sql/Pg/version-upgrade/2.0-2.1-upgrade-db.sql

index 3638766..d3cb512 100644 (file)
@@ -1,3 +1,5 @@
+select now();
+
 -- 0498
 -- Rather than polluting the public schema with general Evergreen
 -- functions, carve out a dedicated schema.  It might already exist,
@@ -2265,7 +2267,7 @@ UPDATE asset.call_number_class
 
 -- Change this to FALSE to disable updating existing circs
 -- Otherwise will use the fine interval for the grace period
-\set CircGrace TRUE
+\set CircGrace FALSE
 
 -- 0503
 -- New Columns
@@ -8861,6 +8863,8 @@ INSERT INTO config.upgrade_log (version) VALUES ('0634');
 
 COMMIT;
 
+SELECT NOW();
+
 --0633
 INSERT into config.org_unit_setting_type
 ( name, grp, label, description, datatype ) VALUES