mirror of
https://github.com/edcommonwealth/sqm-dashboards.git
synced 2026-03-07 21:48:16 -08:00
- Add migration - Create one-off script `rake one_off:add_dese_ids` to add the DESE ID to schools - Update seeder to seed schools based on DESE IDs
7 lines
213 B
Ruby
7 lines
213 B
Ruby
class AddDeseIdToSchool < ActiveRecord::Migration[6.1]
|
|
def change
|
|
add_column :schools, :dese_id, :integer, default: -1, null: false
|
|
|
|
change_column_default :schools, :dese_id, from: -1, to: nil
|
|
end
|
|
end
|