swap around schools and district to not be namespaced

This commit is contained in:
Nelson Jovel 2024-01-04 21:25:39 -08:00
parent 865b7b17af
commit 7f69cda710
15 changed files with 67 additions and 57 deletions

View file

@ -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 :dashboard_school, null: false, foreign_key: true
t.references :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