mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
chore: update schools and districts to correct association between them
This commit is contained in:
parent
3093d9236a
commit
0f525cf2e8
10 changed files with 12 additions and 28 deletions
|
|
@ -2,7 +2,7 @@ class CreateDashboardAdminDataValues < ActiveRecord::Migration[7.1]
|
|||
def change
|
||||
create_table :dashboard_admin_data_values do |t|
|
||||
t.float :likert_score
|
||||
t.references :school, null: false, foreign_key: true
|
||||
t.references :dashboard_school, null: false, foreign_key: true
|
||||
t.references :dashboard_admin_data_item, null: false, foreign_key: true
|
||||
t.references :dashboard_academic_year, null: false, foreign_key: true
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue