mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
resync school categories after merge
This commit is contained in:
parent
0d4a4488d8
commit
4be42d1bc7
1 changed files with 1 additions and 0 deletions
|
|
@ -20,6 +20,7 @@ class School < ApplicationRecord
|
|||
recipients.update_all(school_id: school.id)
|
||||
school_categories.update_all(school_id: school.id)
|
||||
user_schools.update_all(school_id: school.id)
|
||||
school.school_categories.map(&:sync_aggregated_responses)
|
||||
destroy
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue