1 """add main transcoding progress column to MediaEntry
3 Revision ID: cc3651803714
5 Create Date: 2017-08-21 23:33:01.401589
9 # revision identifiers, used by Alembic.
10 revision
= 'cc3651803714'
11 down_revision
= '228916769bd2'
15 from alembic
import op
16 import sqlalchemy
as sa
21 Addition of main_transcoding_progress is required to save the progress of the
22 default resolution (other than the total progress of the video).
24 op
.add_column('core__media_entries', sa
.Column('main_transcoding_progress', sa
.Float(), default
=0))