mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-16 17:45:53 -07: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
|
|
@ -1,8 +1,8 @@
|
|||
class CreateDashboardSchools < ActiveRecord::Migration[7.1]
|
||||
def change
|
||||
create_table :schools do |t|
|
||||
create_table :dashboard_schools do |t|
|
||||
t.string :name
|
||||
t.references :district, null: false, foreign_key: true
|
||||
t.references :dashboard_district, null: false, foreign_key: true
|
||||
t.text :description
|
||||
t.string :slug
|
||||
t.integer :qualtrics_code
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue