pinchflat/priv/repo/migrations/20240319200823_add_source_photos_fields.exs
2024-03-19 13:22:51 -07:00

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