You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Dashboard/spec/dummy/db/migrate/20240207230529_create_dashb...

18 lines
471 B

# This migration comes from dashboard (originally 20240104174053)
class CreateDashboardSchools < ActiveRecord::Migration[7.1]
def change
create_table :dashboard_schools do |t|
t.string :name
t.references :dashboard_district, null: false, foreign_key: true
t.string :slug
t.integer :qualtrics_code
t.integer :dese_id
t.boolean :is_hs
t.timestamps
end
add_index :dashboard_schools, :dese_id, unique: true
end
end