[open-ils-commits] r17874 - branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade (scottmk)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 21 14:18:08 EDT 2010


Author: scottmk
Date: 2010-09-21 14:18:04 -0400 (Tue, 21 Sep 2010)
New Revision: 17874

Modified:
   branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql
Log:
Don't update history tables to fill in new columns

M    Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql


Modified: branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql
===================================================================
--- branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql	2010-09-21 18:16:51 UTC (rev 17873)
+++ branches/rel_2_0/Open-ILS/src/sql/Pg/upgrade/0413.schema.upgrade-auditor-tables.sql	2010-09-21 18:18:04 UTC (rev 17874)
@@ -5,13 +5,6 @@
 
 INSERT INTO config.upgrade_log (version) VALUES ('0413'); -- Scott McKellar
 
-UPDATE auditor.actor_org_unit_history
-SET fiscal_calendar = 1
-WHERE fiscal_calendar IS NULL;
-
-ALTER TABLE auditor.actor_org_unit_history
-    ALTER COLUMN fiscal_calendar SET NOT NULL;
-
 DROP VIEW auditor.actor_org_unit_lifecycle;
 
 SELECT auditor.create_auditor_lifecycle( 'actor', 'org_unit' );
@@ -23,24 +16,10 @@
 
 SELECT auditor.create_auditor_lifecycle( 'actor', 'usr' );
 
-UPDATE auditor.asset_call_number_history
-SET label_class = 1
-WHERE label_class IS NULL;
-
-ALTER TABLE auditor.asset_call_number_history
-    ALTER COLUMN label_class SET NOT NULL;
-
 DROP VIEW auditor.asset_call_number_lifecycle;
 
 SELECT auditor.create_auditor_lifecycle( 'asset', 'call_number' );
 
-UPDATE auditor.asset_copy_history
-SET floating  = false
-WHERE floating IS NULL;
-
-ALTER TABLE auditor.asset_copy_history
-	ALTER COLUMN floating SET NOT NULL;
-
 DROP VIEW auditor.asset_copy_lifecycle;
 
 SELECT auditor.create_auditor_lifecycle( 'asset', 'copy' );



More information about the open-ils-commits mailing list