diff options
author | vijeth-aradhya <vijthaaa@gmail.com> | 2017-08-22 13:22:23 +0530 |
---|---|---|
committer | vijeth-aradhya <vijthaaa@gmail.com> | 2017-08-22 13:22:23 +0530 |
commit | beb9121c0d0d86a575f3501e6070bf4f63956727 (patch) | |
tree | 87b70a50c9a68391003e392f376d009d8d37d983 /mediagoblin/db/models.py | |
parent | bccc79391a46a9ad84eaea4176698da5a4f78acd (diff) | |
download | mediagoblin-beb9121c0d0d86a575f3501e6070bf4f63956727.tar.lz mediagoblin-beb9121c0d0d86a575f3501e6070bf4f63956727.tar.xz mediagoblin-beb9121c0d0d86a575f3501e6070bf4f63956727.zip |
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'.
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 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) |