chore:seed demographics

This commit is contained in:
Nelson Jovel 2024-01-12 15:36:23 -08:00
parent 27550e0b30
commit bd8dfe45d3
33 changed files with 2423 additions and 8 deletions

View file

@ -6,6 +6,6 @@ class CreateDashboardAcademicYears < ActiveRecord::Migration[7.1]
t.timestamps
end
add_index :dashboard_academic_years, :range
add_index :dashboard_academic_years, :range, unique: true
end
end

View file

@ -10,5 +10,7 @@ class CreateDashboardSchools < ActiveRecord::Migration[7.1]
t.timestamps
end
add_index :dashboard_schools, :dese_id, unique: true
end
end