Missing multi=True closing this migration, oops :)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 12 Aug 2011 18:14:35 +0000 (13:14 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Fri, 12 Aug 2011 18:14:35 +0000 (13:14 -0500)
mediagoblin/db/migrations.py

index 36bca5b3c280644d657298905ba2ba5b8e2554b7..171b5c8328fd8d2cc1eb21a7856526c68547d5a5 100644 (file)
@@ -62,6 +62,7 @@ def mediaentry_remove_thumbnail_file(database):
     database['media_entries'].update(
         {'thumbnail_file': {'$exists': True}},
         {'$unset': {'thumbnail_file': 1}},
+        multi=True)
 
 
 @RegisterMigration(4)