From e1f1e4aff4d71aa474b616d7f5e650e17e8979c2 Mon Sep 17 00:00:00 2001 From: Alexander Machehin Date: Wed, 15 Feb 2012 00:50:55 +0600 Subject: [PATCH] remove broken migration --- db/migrate/20120206194328_remove_orphan_platforms.rb | 8 -------- 1 file changed, 8 deletions(-) delete mode 100644 db/migrate/20120206194328_remove_orphan_platforms.rb diff --git a/db/migrate/20120206194328_remove_orphan_platforms.rb b/db/migrate/20120206194328_remove_orphan_platforms.rb deleted file mode 100644 index aa922710a..000000000 --- a/db/migrate/20120206194328_remove_orphan_platforms.rb +++ /dev/null @@ -1,8 +0,0 @@ -class RemoveOrphanPlatforms < ActiveRecord::Migration - def self.up - Platform.all.each {|x| x.destroy unless x.owner.present?} - end - - def self.down - end -end