aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/models.py
diff options
context:
space:
mode:
authorJessica Tallon <xray7224@googlemail.com>2013-08-14 15:41:02 +0100
committerJessica Tallon <jessica@megworld.co.uk>2014-07-22 23:13:13 +0100
commite590179ab61c873acfa291f93cba7cc412432a58 (patch)
tree06b55b71841d516256c29d27b32ea4bcdc8e38d4 /mediagoblin/db/models.py
parentd7b3805f2dde435e211560ba6500cc30780739eb (diff)
downloadmediagoblin-e590179ab61c873acfa291f93cba7cc412432a58.tar.lz
mediagoblin-e590179ab61c873acfa291f93cba7cc412432a58.tar.xz
mediagoblin-e590179ab61c873acfa291f93cba7cc412432a58.zip
Adds migration on MediaEntry to add uuid
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r--mediagoblin/db/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index 61a7f251..02392792 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -20,6 +20,7 @@ TODO: indexes on foreignkeys, where useful.
import logging
import datetime
+import base64
from sqlalchemy import Column, Integer, Unicode, UnicodeText, DateTime, \
Boolean, ForeignKey, UniqueConstraint, PrimaryKeyConstraint, \
@@ -422,7 +423,6 @@ class MediaEntry(Base, MediaEntryMixin):
# pass through commit=False/True in kwargs
super(MediaEntry, self).delete(**kwargs)
-
class FileKeynames(Base):
"""
keywords for various places.