Permalink
Browse files

Remove old files with wrong names

  • Loading branch information...
1 parent fe15063 commit d27538b4fe4e2e8fdf10c26158702bf0c4fbb026 @durran durran committed May 20, 2012
@@ -1,13 +0,0 @@
-class RenameBandsToArtists
- include Evolver::Migration
-
- sessions :default
-
- def execute
- session[:labels].find.update_all("$rename" => { "bands" => "artists" })
- end
-
- def revert
- session[:labels].find.update_all("$rename" => { "artists" => "bands" })
- end
-end
@@ -1,13 +0,0 @@
-class AddLikesToLabel
- include Evolver::Migration
-
- sessions :default
-
- def execute
- session[:labels].find.update_all("$set" => { "likes" => 0 })
- end
-
- def revert
- session[:labels].find.update_all("$unset" => { "likes" => true })
- end
-end

0 comments on commit d27538b

Please sign in to comment.