mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-08 23:08:14 -07:00
chore: seed academic years, districts and schools
This commit is contained in:
parent
30f9f05a63
commit
cd7b05df73
94 changed files with 697970 additions and 14 deletions
|
|
@ -1,6 +1,6 @@
|
|||
module Dashboard
|
||||
class District < ApplicationRecord
|
||||
has_many :schools, class_name: "School", foreign_key: :id
|
||||
has_many :schools, class_name: "School", foreign_key: :dashboard_district_id
|
||||
|
||||
validates :name, presence: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue