From beb9121c0d0d86a575f3501e6070bf4f63956727 Mon Sep 17 00:00:00 2001 From: vijeth-aradhya Date: Tue, 22 Aug 2017 13:22:23 +0530 Subject: Add main_transcoding_progress column migration This field is required to store the progress of the default resolution of the media. So, we now store the total progress of transcoding the video in 'transcoding_progress' and progress of transcoding the default resolution in 'main_transcoding_progress'. --- mediagoblin/db/models.py | 1 + 1 file changed, 1 insertion(+) (limited to 'mediagoblin/db/models.py') diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index cc06b12f..b2dcb6ad 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -543,6 +543,7 @@ class MediaEntry(Base, MediaEntryMixin, CommentingMixin): fail_metadata = Column(JSONEncoded) transcoding_progress = Column(Float, default=0) + main_transcoding_progress = Column(Float, default=0) queued_media_file = Column(PathTupleWithSlashes) -- cgit v1.2.3