class UpdateUsersDummyColToFalse < ActiveRecord::Migration
  Users.where(dummy: nil).update_all(dummy: false)
  def change
    change_column :users, :dummy, :boolean, :default => false, :null => false
  end
end

Update existing dummy to false and change dummy column to default to false
Update existing dummy to false and change dummy column to default to false
