diff --git a/db/migrate/20111019064503_cache_problem_statistics.rb b/db/migrate/20111019064503_cache_problem_statistics.rb deleted file mode 100644 index 515db58..0000000 --- a/db/migrate/20111019064503_cache_problem_statistics.rb +++ /dev/null @@ -1,18 +0,0 @@ -class CacheProblemStatistics < Mongoid::Migration - def self.up - Problem.all.each do |problem| - problem.notices.each do |notice| - problem.messages << notice.message - problem.hosts << notice.host - problem.user_agents << notice.user_agent_string - end - problem.save! - end - end - - def self.down - Problem.all.each do |problem| - problem.update_attributes(:messages => [], :hosts => [], :user_agents => []) - end - end -end \ No newline at end of file -- libgit2 0.21.2