lp1846354 add a WARNING to the release notes collab/phasefx/consolidate_patron_notes_rebased
authorJason Etheridge <jason@EquinoxInitiative.org>
Thu, 6 Aug 2020 17:54:13 +0000 (13:54 -0400)
committerJason Etheridge <jason@EquinoxInitiative.org>
Thu, 6 Aug 2020 17:54:13 +0000 (13:54 -0400)
about the auditor table

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
docs/RELEASE_NOTES_NEXT/Client/lp1846354_consolidate_patron_notes.adoc

index 0bd1feb..0d2f9ca 100644 (file)
@@ -11,3 +11,10 @@ The underlying data structure has also changed with all notes living in the acto
 And for actor.usr_message, there is now both a pub column and a deleted column.
 
 Depending on privacy policies, system adminstrators may wish to set up a recurring process to truly delete older entries in actor.usr_message that have been flagged as deleted.
+
+WARNING: The upgrade script will remote the alert_message field from the auditor table, so if you care about preserving those you should run a query to create a backup.
+
+For example:
+
+[source,sql]
+CREATE TABLE auditor.backup_usr_alert_msg AS CREATE audit_id, audit_time, audit_action, audit_user, audit_ws, id as "usr_id", last_update_time, alert_message FROM auditor.actor_usr_history WHERE alert_message IS NOT NULL;