class AddResetAtToSites < ActiveRecord::Migration
  def change
    add_column :sites, :reset_at, :datetime
  end
end

class AddResetAtToSites < ActiveRecord::Migration
  def change
    add_column :sites, :reset_at, :datetime
    reversible do |dir|
      dir.up { Site.update_all reset_at: DateTime.now }
    end
  end
end

Add a default value to reset_at
Add a default value to reset_at
