feat(PurgeManagerAdministrateurSessionsJob): also purge instructeur assign_tos
This commit is contained in:
parent
dc524cf615
commit
45e0c15eb0
1 changed files with 1 additions and 0 deletions
|
@ -4,5 +4,6 @@ class Cron::PurgeManagerAdministrateurSessionsJob < Cron::CronJob
|
||||||
def perform
|
def perform
|
||||||
# TODO: add id column to administrateurs_procedures and use destroy_all
|
# TODO: add id column to administrateurs_procedures and use destroy_all
|
||||||
AdministrateursProcedure.where(manager: true).delete_all
|
AdministrateursProcedure.where(manager: true).delete_all
|
||||||
|
AssignTo.where(manager: true).destroy_all
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue