Commit 8a6ab0d26ec75228d4b3a98f3201a6dbf8e1c497

Authored by Weblate
2 parents 764d7b83 538bb500

Merge remote-tracking branch 'origin/master'

db/migrate/20140724134600_remove_environment_statistics_block_sooner.rb 0 → 100644
... ... @@ -0,0 +1,9 @@
  1 +class RemoveEnvironmentStatisticsBlockSooner < ActiveRecord::Migration
  2 + def self.up
  3 + update("UPDATE blocks SET type = 'StatisticsBlock' WHERE type = 'EnvironmentStatisticsBlock'")
  4 + end
  5 +
  6 + def self.down
  7 + say("Nothing to undo (cannot recover the data)")
  8 + end
  9 +end
... ...