Move from CWMARS fiscal calendar to the Default calendar
authorJason Stephenson <jstephenson@cwmars.org>
Mon, 30 Jan 2023 19:13:00 +0000 (14:13 -0500)
committerJason Stephenson <jason@sigio.com>
Wed, 8 Feb 2023 18:03:50 +0000 (13:03 -0500)
The Angular acq client now pays attention to the fiscal calendar, so
we're switching all of our fiscal year entries to be on the Default
calendar rather than updating all of our organizations to use the
CWMARS calendar.

Signed-off-by: Jason Stephenson <jstephenson@cwmars.org>
Open-ILS/src/sql/Pg/version-upgrade/cwmars-3.7.3-3.10.0-upgrade-db.sql

index 05bd20c..be40431 100644 (file)
@@ -7503,6 +7503,11 @@ SELECT evergreen.upgrade_deps_block_check('1312', :eg_version);
 
 CREATE INDEX aum_editor ON actor.usr_message (editor);
 
+\qecho Move from CWMARS acq fiscal calendar to Default
+UPDATE acq.fiscal_year
+SET calendar = 1
+WHERE calendar = 2;
+
 \qecho A partial reingest is necessary to get the full benefit of this change.
 \qecho It will take a while. You can cancel now withoug losing the effect of
 \qecho the rest of the upgrade script, and arrange the reingest later.