From bdf65bb0a0191a6d33918059c4d049ced48788c5 Mon Sep 17 00:00:00 2001 From: phyzical <5182053+phyzical@users.noreply.github.com> Date: Fri, 8 Aug 2025 16:29:46 +0800 Subject: [PATCH] update source schema with members contextn behaviour --- lib/pinchflat/sources/source.ex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/pinchflat/sources/source.ex b/lib/pinchflat/sources/source.ex index 00b4776..5f6f058 100644 --- a/lib/pinchflat/sources/source.ex +++ b/lib/pinchflat/sources/source.ex @@ -40,6 +40,7 @@ defmodule Pinchflat.Sources.Source do marked_for_deletion_at min_duration_seconds max_duration_seconds + members_content_behaviour )a # Expensive API calls are made when a source is inserted/updated so @@ -80,6 +81,8 @@ defmodule Pinchflat.Sources.Source do field :fast_index, :boolean, default: false field :cookie_behaviour, Ecto.Enum, values: [:disabled, :when_needed, :all_operations], default: :disabled field :download_media, :boolean, default: true + field :members_content_behaviour, Ecto.Enum, values: ~w(include exclude only)a, default: :include + field :last_indexed_at, :utc_datetime # Only download media items that were published after this date field :download_cutoff_date, :date