Opened 12 years ago

Last modified 9 years ago

#572 new enhancement

Move Columns from MediaEntry to ProcessingMetaData

Reported by: Elrond Owned by:
Priority: trivial Milestone:
Component: programming Keywords: bitesized
Cc: Christopher Allan Webber Parent Tickets:

Description

There is a new table for data used while (or at the end of) processing. It's currently only used for the callback url. We should use it for more things. So I propose to move various columns from MediaEntry into ProcessingMetaData.

Possible columns:

  • transcoding_progress
  • queued_task_id
  • queued_media_file (*)
  • fail_error (*)
  • fail_metadata (*)

After a successful processing, none of these are needed.
After a failed processing, those with (*) might be needed for various reasons. We should rethink that part maybe anyway.

Change History (2)

comment:1 by Elrond, 10 years ago

Keywords: bitesized added

comment:2 by Elrond, 9 years ago

The columns without star should be quite easy for someone, who wants to start on database related work.

  • Remove old columns from MediaEntry
  • Add new columns to ProcessingMetaData
  • Fix all references (using grep and unit tests should get you there)

Finally get help on IRC for writing the database migration, because that one will be more complex, as you might need to migrate the data in the columns.

Note: See TracTickets for help on using tickets.