|
|
|
|
@ -346,7 +346,7 @@ ActiveRecord::Schema[7.1].define(version: 2023_10_04_211430) do
|
|
|
|
|
t.integer "eleven"
|
|
|
|
|
t.integer "twelve"
|
|
|
|
|
t.index ["academic_year_id"], name: "index_respondents_on_academic_year_id"
|
|
|
|
|
t.index %w[school_id academic_year_id], name: "index_respondents_on_school_id_and_academic_year_id", unique: true
|
|
|
|
|
t.index ["school_id", "academic_year_id"], name: "index_respondents_on_school_id_and_academic_year_id", unique: true
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
create_table "response_rates", force: :cascade do |t|
|
|
|
|
|
@ -360,7 +360,7 @@ ActiveRecord::Schema[7.1].define(version: 2023_10_04_211430) do
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.index ["academic_year_id"], name: "index_response_rates_on_academic_year_id"
|
|
|
|
|
t.index %w[school_id subcategory_id], name: "index_response_rates_on_school_id_and_subcategory_id"
|
|
|
|
|
t.index ["school_id", "subcategory_id"], name: "index_response_rates_on_school_id_and_subcategory_id"
|
|
|
|
|
t.index ["subcategory_id"], name: "index_response_rates_on_subcategory_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -420,7 +420,7 @@ ActiveRecord::Schema[7.1].define(version: 2023_10_04_211430) do
|
|
|
|
|
t.datetime "created_at", null: false
|
|
|
|
|
t.datetime "updated_at", null: false
|
|
|
|
|
t.index ["race_id"], name: "index_student_races_on_race_id"
|
|
|
|
|
t.index %w[student_id race_id], name: "index_student_races_on_student_id_and_race_id"
|
|
|
|
|
t.index ["student_id", "race_id"], name: "index_student_races_on_student_id_and_race_id"
|
|
|
|
|
t.index ["student_id"], name: "index_student_races_on_student_id"
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
@ -462,17 +462,11 @@ ActiveRecord::Schema[7.1].define(version: 2023_10_04_211430) do
|
|
|
|
|
t.index ["gender_id"], name: "index_survey_item_responses_on_gender_id"
|
|
|
|
|
t.index ["income_id"], name: "index_survey_item_responses_on_income_id"
|
|
|
|
|
t.index ["response_id"], name: "index_survey_item_responses_on_response_id"
|
|
|
|
|
<<<<<<< HEAD
|
|
|
|
|
t.index %w[school_id academic_year_id survey_item_id], name: "by_school_year_and_survey_item"
|
|
|
|
|
t.index %w[school_id academic_year_id], name: "index_survey_item_responses_on_school_id_and_academic_year_id"
|
|
|
|
|
t.index %w[school_id survey_item_id academic_year_id grade], name: "index_survey_responses_on_grade"
|
|
|
|
|
=======
|
|
|
|
|
t.index ["school_id", "academic_year_id", "survey_item_id"], name: "by_school_year_and_survey_item"
|
|
|
|
|
t.index ["school_id", "academic_year_id"], name: "index_survey_item_responses_on_school_id_and_academic_year_id"
|
|
|
|
|
t.index ["school_id", "survey_item_id", "academic_year_id", "grade"], name: "index_survey_responses_on_grade"
|
|
|
|
|
t.index ["school_id"], name: "index_survey_item_responses_on_school_id"
|
|
|
|
|
t.index ["sped_id"], name: "index_survey_item_responses_on_sped_id"
|
|
|
|
|
>>>>>>> 48e795f (feat: add special education disaggregation)
|
|
|
|
|
t.index ["student_id"], name: "index_survey_item_responses_on_student_id"
|
|
|
|
|
t.index ["survey_item_id"], name: "index_survey_item_responses_on_survey_item_id"
|
|
|
|
|
end
|
|
|
|
|
|