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.
17 lines
405 B
17 lines
405 B
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
|