dirty commit: can't get references to work correctly between any tables

This commit is contained in:
Nelson Jovel 2024-01-04 19:36:10 -08:00
parent e1f0b78236
commit a4fddbeced
183 changed files with 5461 additions and 5 deletions

View file

@ -0,0 +1,5 @@
FactoryBot.define do
factory :academic_year do
range { "MyString" }
end
end

View file

@ -0,0 +1,12 @@
FactoryBot.define do
factory :admin_data_item do
admin_data_item_id { "MyString" }
description { "MyString" }
watch_low_benchmark { 1.5 }
growth_low_benchmark { 1.5 }
approval_low_benchmark { 1.5 }
ideal_low_benchmark { 1.5 }
hs_only_item { false }
dashboard_scale { nil }
end
end

View file

@ -0,0 +1,8 @@
FactoryBot.define do
factory :admin_data_value do
likert_score { 1.5 }
dashboard_school { nil }
dashboard_admin_data_item { nil }
dashboard_academic_year { nil }
end
end

View file

@ -0,0 +1,9 @@
FactoryBot.define do
factory :category do
name { "MyString" }
description { "MyText" }
slug { "MyString" }
category_id { "MyString" }
short_description { "MyString" }
end
end

View file

@ -0,0 +1,7 @@
FactoryBot.define do
factory :district do
name { "MyString" }
slug { "MyString" }
qualtrics_code { 1 }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :ell do
designation { "MyString" }
slug { "MyString" }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :gender do
qualtrics_code { 1 }
designation { "MyString" }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :income do
designation { "MyString" }
slug { "MyString" }
end
end

View file

@ -0,0 +1,8 @@
FactoryBot.define do
factory :measure do
measure_id { "MyString" }
name { "MyString" }
dashboard_subcategory { nil }
description { "MyText" }
end
end

View file

@ -0,0 +1,7 @@
FactoryBot.define do
factory :race do
designation { "MyString" }
qualtrics_code { 1 }
slug { "MyString" }
end
end

View file

@ -0,0 +1,22 @@
FactoryBot.define do
factory :respondent do
dashboard_school { nil }
dashboard_academic_year { nil }
total_students { 1 }
total_teachers { 1.5 }
pk { 1 }
k { 1 }
one { 1 }
two { 1 }
three { 1 }
four { 1 }
five { 1 }
six { 1 }
seven { 1 }
eight { 1 }
nine { 1 }
ten { 1 }
eleven { 1 }
twelve { 1 }
end
end

View file

@ -0,0 +1,9 @@
FactoryBot.define do
factory :response_rate do
subcategory { nil }
school { nil }
academic_year { nil }
school_response_rate { 1.5 }
teacher_response_rate { 1.5 }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :scale do
scale_id { "MyString" }
measure { nil }
end
end

View file

@ -0,0 +1,11 @@
FactoryBot.define do
factory :school do
name { "MyString" }
dashboard_district { nil }
description { "MyText" }
slug { "MyString" }
qualtrics_code { 1 }
dese_id { 1 }
is_hs { false }
end
end

View file

@ -0,0 +1,8 @@
FactoryBot.define do
factory :score do
average { 1.5 }
meets_teacher_threshold { false }
meets_student_threshold { false }
meets_admin_data_threshold { false }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :sped do
designation { "MyString" }
slug { "MyString" }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :student_race do
dashboard_student { nil }
dashboard_race { nil }
end
end

View file

@ -0,0 +1,6 @@
FactoryBot.define do
factory :student do
lasid { "MyString" }
response_id { "MyString" }
end
end

View file

@ -0,0 +1,8 @@
FactoryBot.define do
factory :subcategory do
name { "MyString" }
description { "MyText" }
subcategory_id { "MyString" }
dashboard_categories { nil }
end
end

View file

@ -0,0 +1,16 @@
FactoryBot.define do
factory :survey_item_response do
likert_score { 1 }
dashboard_school { nil }
dashboard_survey_item { nil }
dashboard_academic_year { nil }
dashboard_student { nil }
dashboard_gender { nil }
dashboard_income { nil }
dashboard_ell { nil }
dashboard_sped { nil }
response_id { "MyString" }
grade { 1 }
recorded_date { "2024-01-04 11:21:28" }
end
end

View file

@ -0,0 +1,12 @@
FactoryBot.define do
factory :survey_item do
survey_item_id { "MyString" }
prompt { "MyString" }
watch_low_benchmark { 1.5 }
growth_low_benchmark { 1.5 }
approval_low_benchmark { 1.5 }
ideal_low_benchmark { 1.5 }
dashboard_scale { nil }
on_short_form { false }
end
end