Open Hildy opened 5 years ago
In patch:
delete from context_link where from_context = 'cerberusweb.contexts.worker' and from_context_id in (select id from worker where is_disabled=1);
delete from context_link where to_context = 'cerberusweb.contexts.worker' and to_context_id in (select id from worker where is_disabled=1);
Well, not by default necessarily, but to have the option would be good. We'd discussed doing this in a maintenance task, after some specified delay.