20140724134600_remove_environment_statistics_block_sooner.rb 270 Bytes
class RemoveEnvironmentStatisticsBlockSooner < ActiveRecord::Migration
  def self.up
    update("UPDATE blocks SET type = 'StatisticsBlock' WHERE type = 'EnvironmentStatisticsBlock'")
  end

  def self.down
    say("Nothing to undo (cannot recover the data)")
  end
end