diff --git a/lib/philomena/images/source.ex b/lib/philomena/images/source.ex index 1b3609f4..d341a1d4 100644 --- a/lib/philomena/images/source.ex +++ b/lib/philomena/images/source.ex @@ -2,8 +2,11 @@ defmodule Philomena.Images.Source do use Ecto.Schema import Ecto.Changeset + alias Philomena.Images.Image + schema "image_sources" do - timestamps() + belongs_to :image, Image + field :source, :string end @doc false