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.
sqm-dashboards/db/migrate/20211118143017_add_dese_id_...

8 lines
213 B

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