Files
pinchflat/priv/repo/migrations/20240131182114_add_subtitles_to_media_item.exs
T
Kieran 977b69b7c3 Allow subtitle downloading (#11)
* Added subtitle options to media profile model

* Updated media profile form

* Adds subtitle-based options in options builder

* Updates metadata parser to include subtitles

* Adds subtitle_filepaths to media_item

* renamed video_filepath to media_filepath

* Added more fields to media profile show page
2024-01-31 18:55:02 -08:00

10 lines
232 B
Elixir

defmodule Pinchflat.Repo.Migrations.AddSubtitleFilepathsToMediaItem do
use Ecto.Migration
def change do
alter table(:media_items) do
add :subtitle_filepaths, {:array, {:array, :string}}, default: []
end
end
end