mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
chore: load survey item responses. Show overview page without server errors
This commit is contained in:
parent
589c0f7e11
commit
a538eb72f2
9 changed files with 94 additions and 87 deletions
|
|
@ -16,5 +16,8 @@ class CreateDashboardSurveyItemResponses < ActiveRecord::Migration[7.1]
|
|||
|
||||
t.timestamps
|
||||
end
|
||||
add_index :dashboard_survey_item_responses, %i[dashboard_school_id dashboard_academic_year_id]
|
||||
add_index :dashboard_survey_item_responses,
|
||||
%i[response_id dashboard_school_id dashboard_academic_year_id dashboard_survey_item_id], unique: true
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue