dirty commit: can't get references to work correctly between any tables

This commit is contained in:
Nelson Jovel 2024-01-04 19:36:10 -08:00
parent e1f0b78236
commit a4fddbeced
183 changed files with 5461 additions and 5 deletions

View file

@ -0,0 +1,15 @@
class CreateDashboardSchools < ActiveRecord::Migration[7.1]
def change
create_table :dashboard_schools do |t|
t.string :name
t.references :dashboard_district_id, null: false, foreign_key: true
t.text :description
t.string :slug, unique: true
t.integer :qualtrics_code
t.integer :dese_id
t.boolean :is_hs
t.timestamps
end
end
end