JBAS-1525 Delete holds history retention user settings
authorBill Erickson <berickxx@gmail.com>
Thu, 13 Oct 2016 19:36:28 +0000 (15:36 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Clear all user settings for managing holds history retention, so all
applicable holds can be aged.

Any new holds history retention starting with this commit will be
starting fresh.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/sql/schema/deploy/purge-holds.sql

index 1a4b254..3c7ed06 100644 (file)
@@ -3,6 +3,9 @@
 
 BEGIN;
 
+-- Remove all holds history retention settings so all applicable
+-- holds can be aged.
+DELETE FROM actor.usr_setting WHERE name = 'history.hold.retention_start';
 
 -- Start by purging really old holds. 
 -- The age will march forward as we work through batches.