Convert over the license field, too!
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:41:07 +0000 (16:41 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sat, 21 Jan 2012 22:41:07 +0000 (16:41 -0600)
mediagoblin/db/sql/convert.py

index ac7a66c227dd8331aa13e5bc7bd4e87720c3fe81..260328c627c43a7598d57cac9a71a8f55b696990 100644 (file)
@@ -78,7 +78,7 @@ def convert_media_entries(mk_db):
         copy_attrs(entry, new_entry,
             ('title', 'slug', 'created',
              'description', 'description_html',
-             'media_type', 'state',
+             'media_type', 'state', 'license',
              'fail_error',
              'queued_task_id',))
         copy_reference_attr(entry, new_entry, "uploader")