diff options
author | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-02-06 15:15:57 -0500 |
---|---|---|
committer | tilly-Q <nattilypigeonfowl@gmail.com> | 2014-04-21 12:07:59 -0400 |
commit | 2dd966b5e2c6c406d153e2d4cdf886e30198a1d3 (patch) | |
tree | 82898de69c6ec32fa3193b2864e190687f5586bb /mediagoblin/db/models.py | |
parent | 2edd6b0b91b38dd77837cdb21ac3a401c797dd27 (diff) | |
download | mediagoblin-2dd966b5e2c6c406d153e2d4cdf886e30198a1d3.tar.lz mediagoblin-2dd966b5e2c6c406d153e2d4cdf886e30198a1d3.tar.xz mediagoblin-2dd966b5e2c6c406d153e2d4cdf886e30198a1d3.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.py | 1 |
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'), |