mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-08 23:18:18 -07:00
chore: Add comment about StaffingLoader also cloning enrollment data when it clones staffing data
This commit is contained in:
parent
10c052771d
commit
9efc1f41c6
2 changed files with 38 additions and 34 deletions
|
|
@ -15,6 +15,7 @@ class StaffingLoader
|
|||
Respondent.import respondents, batch_size: 1000, on_duplicate_key_update: [:total_teachers]
|
||||
end
|
||||
|
||||
# Clones staffing and enrollment data from previous year
|
||||
def self.clone_previous_year_data
|
||||
years = AcademicYear.order(:range).last(2)
|
||||
previous_year = years.first
|
||||
|
|
@ -66,3 +67,4 @@ class StaffingRowValues
|
|||
row['FTE Count']
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue