mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-09 15:38:21 -07:00
chore: Add comment that notifies that cloning previous year staffing
data will also copy over enrollment data
This commit is contained in:
parent
11617abd89
commit
95f8ada48d
1 changed files with 3 additions and 1 deletions
|
|
@ -127,7 +127,9 @@ class Seeder
|
|||
StaffingLoader.load_data(filepath: csv_file)
|
||||
missing_staffing_for_current_year = Respondent.where(academic_year: AcademicYear.order(:range).last).none? do |respondent|
|
||||
respondent.total_teachers.present?
|
||||
end
|
||||
|
||||
|
||||
# This will also clone enrollment data from the previous year
|
||||
StaffingLoader.clone_previous_year_data if missing_staffing_for_current_year
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue