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 <jason@EquinoxInitiative.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
) = 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.