]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1570909 User activity purge function
authorBill Erickson <berickxx@gmail.com>
Fri, 15 Apr 2016 20:26:57 +0000 (16:26 -0400)
committerMike Rylander <mrylander@gmail.com>
Wed, 24 Aug 2016 16:37:03 +0000 (12:37 -0400)
commitea8b2ae34dee14d15f4958ced3dadbdc4ea8ebbe
treefc3fd6374f3e01452694188f9327749a66166355
parentb1f4d599b87a375ab43b7439dcc2ba1208c7c5be
LP#1570909 User activity purge function

Utility function for removing all activity entries by activity type,
except for the most recent entry per user.  This is primarily useful
when cleaning up rows prior to setting the transient flag on an
activity type to true.  It allows for immediate cleanup of data (e.g.
for patron privacy) and lets admins control when the data is deleted,
which could be useful for huge activity tables.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Chris Sharp <csharp@georgialibraries.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/002.schema.config.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.usr_activity_transient.sql