[Enhancement] Start tracking a media item's duration (#146)
* Added duration field, started importing it during indexing and download * Added duration to RSS feed
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
defmodule Pinchflat.Repo.Migrations.AddDurationToMediaItems do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
alter table(:media_items) do
|
||||
add :duration_seconds, :integer
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user