* [WIP] hooked up photo downloading to source metadata worker * Added new attributes for source images * Added option to profile form
15 lines
372 B
Elixir
15 lines
372 B
Elixir
defmodule Pinchflat.Repo.Migrations.AddSourcePhotosFields do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:sources) do
|
|
add :fanart_filepath, :string
|
|
add :poster_filepath, :string
|
|
add :banner_filepath, :string
|
|
end
|
|
|
|
alter table(:media_profiles) do
|
|
add :download_source_images, :boolean, default: false, null: false
|
|
end
|
|
end
|
|
end
|