class AllowNullOnStudent < ActiveRecord::Migration[6.0]
  def change
    change_table :Students, bulk: true do |t|
      t.change :Type, :integer, null: true
      t.change :LPPID, :integer, null: true
      t.change :BPPID, :integer, null: true
      t.change :LocationID, :integer, null: true
      t.change :Ethnicity, :integer, null: false, default: 0
      t.change :AlertComments, :text, null: true
      t.change :MedInfo, :text, null: true
      t.change :Work, :string, limit: 16, null: true
      t.change :URL, :string, limit: 128, null: true
      t.change :PictureFile, :string, limit: 64, null: true
    end
  end
end
