From: Elrond Date: Thu, 22 Mar 2012 12:16:00 +0000 (+0100) Subject: image_mediadata: Add exif_all column X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e0b0588fb1626a32d8af4e9c221f32d1b770a1a9;p=mediagoblin.git image_mediadata: Add exif_all column --- diff --git a/mediagoblin/media_types/image/models.py b/mediagoblin/media_types/image/models.py index 8895b642..5eb20ed4 100644 --- a/mediagoblin/media_types/image/models.py +++ b/mediagoblin/media_types/image/models.py @@ -19,6 +19,7 @@ from mediagoblin.db.sql.base import Base from sqlalchemy import ( Column, Integer, Float, ForeignKey) +from mediagoblin.db.sql.extratypes import JSONEncoded class ImageData(Base): @@ -29,6 +30,7 @@ class ImageData(Base): primary_key=True) width = Column(Integer) height = Column(Integer) + exif_all = Column(JSONEncoded) gps_longitude = Column(Float) gps_latitude = Column(Float) gps_altitude = Column(Float)