Diff of /db/migrate/033_remove_statistics_from_failed_tests.rb [1ded97] .. [9d35f2]  Maximize  Restore

Switch to side-by-side view

--- a/db/migrate/033_remove_statistics_from_failed_tests.rb
+++ b/db/migrate/033_remove_statistics_from_failed_tests.rb
@@ -16,7 +16,7 @@
   end
 
   def self.up
-    ActiveRecord::Base.connection.execute("DELETE FROM test_case_numerical_statistics USING test_cases WHERE test_cases.result != 'SUCCESS' AND test_case_numerical_statistics.owner_id = test_cases.id")
+    ActiveRecord::Base.connection.execute("DELETE FROM test_case_num_stats USING test_cases WHERE test_cases.result != 'SUCCESS' AND test_case_num_stats.owner_id = test_cases.id")
     ActiveRecord::Base.connection.execute("DELETE FROM test_case_statistics USING test_cases WHERE test_cases.result != 'SUCCESS' AND test_case_statistics.owner_id = test_cases.id")
 
     result = ResultDimension.find_by_name('SUCCESS')