chore: seed academic years, districts and schools

This commit is contained in:
Nelson Jovel 2024-01-11 14:34:17 -08:00
parent 30f9f05a63
commit cd7b05df73
94 changed files with 697970 additions and 14 deletions

View file

@ -1,6 +1,6 @@
module Dashboard
class Subcategory < ApplicationRecord
belongs_to :dashboard_categories, class_name: "Dashboard::Category"
belongs_to :category, class_name: "Category", foreign_key: :dashboard_category_id
has_many :dashboard_measures
has_many :dashboard_survey_items, through: :dashboard_measures