diff --git a/CHANGELOG.md b/CHANGELOG.md index 571d530..ab6105a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ - Add additional foreign key declarations to `fct_student_discipline_actions`, `fct_student_discipline_actions_summary`, `fct_student_discipline_incident_behaviors` ## Fixes - Fix model name in yaml documentation file for `dim_graduation_plan` +- Fix unique key test for recently changed unique key fo `fct_student_school_attendance_event` + # edu_wh v0.3.4 ## Fixes diff --git a/models/core_warehouse/fct_student_school_attendance_event.yml b/models/core_warehouse/fct_student_school_attendance_event.yml index 17a9051..e0c6176 100644 --- a/models/core_warehouse/fct_student_school_attendance_event.yml +++ b/models/core_warehouse/fct_student_school_attendance_event.yml @@ -3,14 +3,16 @@ version: 2 models: - name: fct_student_school_attendance_event description: > - Raw school-level attendance events. + ##### Overview: + Defines student-school-level attendance events. - Since attendance is generally recorded only in the negative, this is - typically a table of absences only. To find full daily attendance records, - see `fct_student_daily_attendance` or the aggregations thereof. + Since attendance is generally recorded only in the negative, this is + typically a table of absences only. To find full daily attendance records, + see `fct_student_daily_attendance` or the aggregations thereof. - *Primary Key:* `k_student, k_school, k_calendar_date` + ##### Primary Key: + `k_student, k_school, k_calendar_date, k_session, attendance_event_category` config: tags: ['core'] @@ -20,6 +22,8 @@ models: - k_student - k_school - k_calendar_date + - k_session + - attendance_event_category columns: - name: k_student - name: k_student_xyear @@ -33,4 +37,4 @@ models: - name: event_duration - name: arrival_time - name: departure_time - - name: educational_environment \ No newline at end of file + - name: educational_environment