remove unnecessary tasks
authorChris Sharp <csharp@georgialibraries.org>
Thu, 9 Jan 2020 21:23:42 +0000 (16:23 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Mon, 16 Mar 2020 21:15:49 +0000 (17:15 -0400)
Open-ILS/src/sql/Pg/version-upgrade/3.3.3-3.4.0-upgrade-db.sql

index 7be7778..da50be8 100644 (file)
@@ -817,8 +817,8 @@ ALTER TABLE action.aged_circulation DISABLE TRIGGER USER;
 
 SELECT evergreen.upgrade_deps_block_check('1188', :eg_version);
 
-UPDATE action.circulation SET auto_renewal = FALSE WHERE auto_renewal IS NULL;
-UPDATE action.aged_circulation SET auto_renewal = FALSE WHERE auto_renewal IS NULL;
+--UPDATE action.circulation SET auto_renewal = FALSE WHERE auto_renewal IS NULL;
+--UPDATE action.aged_circulation SET auto_renewal = FALSE WHERE auto_renewal IS NULL;
 
 
 SELECT evergreen.upgrade_deps_block_check('1189', :eg_version);
@@ -880,12 +880,12 @@ COMMIT;
 -- alter a table with pending transactions.  They also need to occur
 -- after the above updates or the SET NOT NULL change will fail.
 
-ALTER TABLE action.circulation ALTER COLUMN auto_renewal SET DEFAULT FALSE;
-ALTER TABLE action.circulation ALTER COLUMN auto_renewal SET NOT NULL;
+--ALTER TABLE action.circulation ALTER COLUMN auto_renewal SET DEFAULT FALSE;
+--ALTER TABLE action.circulation ALTER COLUMN auto_renewal SET NOT NULL;
 
-ALTER TABLE action.aged_circulation ALTER COLUMN auto_renewal SET DEFAULT FALSE;
-ALTER TABLE action.aged_circulation ALTER COLUMN auto_renewal SET NOT NULL;
+--ALTER TABLE action.aged_circulation ALTER COLUMN auto_renewal SET DEFAULT FALSE;
+--ALTER TABLE action.aged_circulation ALTER COLUMN auto_renewal SET NOT NULL;
 
 -- Update auditor tables to catch changes to source tables.
 --   Can be removed/skipped if there were no schema changes.
-SELECT auditor.update_auditors();
+--SELECT auditor.update_auditors();