From: Jason Etheridge Date: Thu, 6 Aug 2020 17:26:20 +0000 (-0400) Subject: lp1846354 update auditors X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=a62656b6c9fc04f3a9c17d7fbf3b636ab2e5d530;p=working%2FEvergreen.git lp1846354 update auditors fixes updating patrons and allowing them to login one consequence of this is that old alert_messages in the auditor will be deleted Signed-off-by: Jason Etheridge --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.note_and_message_consolidation b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.note_and_message_consolidation index a109ac2c01..5da0cac0e5 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.note_and_message_consolidation +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.note_and_message_consolidation @@ -209,8 +209,9 @@ do $$ begin ) = 0, 'failed migrating to actor.usr_standing_penalty'; end; $$; --- extends to auditor.actor_usr_lifecycle +-- WARNING: we're going to lose the history of alert_message ALTER TABLE actor.usr DROP COLUMN alert_message CASCADE; +SELECT auditor.update_auditors(); -- fun part where we migrate actor.usr_notes as penalties to preserve -- their creator, and then the private ones to private user messages.