aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/mongo/migrations.py
diff options
context:
space:
mode:
authorChristopher Allan Webber <cwebber@dustycloud.org>2012-01-21 16:40:39 -0600
committerChristopher Allan Webber <cwebber@dustycloud.org>2012-01-21 16:40:39 -0600
commit2788e6a16484330ce1091ae57a87a4da362936c6 (patch)
tree49bdc0fe23a791ff9c9a3571dcec3009e337e96e /mediagoblin/db/mongo/migrations.py
parent3c351460e1dbed9e789e363f1d5635160bce8d84 (diff)
downloadmediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.tar.lz
mediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.tar.xz
mediagoblin-2788e6a16484330ce1091ae57a87a4da362936c6.zip
License "all rights reserved" default should be None/NULL, not empty string
Diffstat (limited to 'mediagoblin/db/mongo/migrations.py')
-rw-r--r--mediagoblin/db/mongo/migrations.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/mongo/migrations.py b/mediagoblin/db/mongo/migrations.py
index f66ade2b..168fa530 100644
--- a/mediagoblin/db/mongo/migrations.py
+++ b/mediagoblin/db/mongo/migrations.py
@@ -114,4 +114,4 @@ def mediaentry_add_license(database):
"""
Add the 'license' field for entries that don't have it.
"""
- add_table_field(database, 'media_entries', 'license', '')
+ add_table_field(database, 'media_entries', 'license', None)