aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/db/models.py
diff options
context:
space:
mode:
authortilly-Q <nattilypigeonfowl@gmail.com>2014-02-06 15:15:57 -0500
committertilly-Q <nattilypigeonfowl@gmail.com>2014-03-23 16:38:45 -0400
commit7a29c67bf92830427e30590fe5a7b720da7520d4 (patch)
treec6d560360431b5adbe7373c0eee3f3a6f44cca71 /mediagoblin/db/models.py
parent023cda097468861b887806b959d9a251f6188a04 (diff)
downloadmediagoblin-7a29c67bf92830427e30590fe5a7b720da7520d4.tar.lz
mediagoblin-7a29c67bf92830427e30590fe5a7b720da7520d4.tar.xz
mediagoblin-7a29c67bf92830427e30590fe5a7b720da7520d4.zip
In this commit, I added a new column which will be used for RDFa metadata of
media.
Diffstat (limited to 'mediagoblin/db/models.py')
-rw-r--r--mediagoblin/db/models.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py
index b750375d..ac69d040 100644
--- a/mediagoblin/db/models.py
+++ b/mediagoblin/db/models.py
@@ -420,6 +420,7 @@ class MediaFile(Base):
name_id = Column(SmallInteger, ForeignKey(FileKeynames.id), nullable=False)
file_path = Column(PathTupleWithSlashes)
file_metadata = Column(MutationDict.as_mutable(JSONEncoded))
+ work_metadata = Column(MutationDict.as_mutable(JSONEncoded))
__table_args__ = (
PrimaryKeyConstraint('media_entry', 'name_id'),