User activity : only delete transient activity for user/type collab/berick/user-activity
authorBill Erickson <berick@esilibrary.com>
Thu, 8 Mar 2012 18:13:25 +0000 (13:13 -0500)
committerBill Erickson <berick@esilibrary.com>
Thu, 8 Mar 2012 18:16:49 +0000 (13:16 -0500)
commitb81adeb447f5ed3c8d0d9a481f72712c4e4f3a3b
treeab0cc692499a13f0d4b13bcace0b9191d885c66c
parentdd8ce51a5124d3d63546124b6bd0c3c3e1d010d0
User activity : only delete transient activity for user/type

Repairs a bug spotted by Thomas Berezansky where the addition of a new
activity for a transient type would delete all existing activity
entries.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/sql/Pg/999.functions.global.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.user-activity.sql