79c61bca4f
* [Enhancement] Adds ability to stop media from re-downloading (#159) * Added column * Added methods for ignoring media items from future download * Added new deletion options to controller and UI * Added controller actions and UI for editing a media item * Added column to sources * Added retention period to form * [WIP] getting retention methods in place * Hooked up retention worker * Added column and UI to prevent automatic deletion * Docs * Removed unused backfill worker * Added edit links to media item tabs on source view * Clarified form wording * Form wording (again)
10 lines
195 B
Elixir
10 lines
195 B
Elixir
defmodule Pinchflat.Repo.Migrations.AddRetentionPeriodToSources do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:sources) do
|
|
add :retention_period_days, :integer
|
|
end
|
|
end
|
|
end
|