fix schema def

This commit is contained in:
byte[] 2020-05-02 20:41:26 -04:00
parent 46ab13261c
commit 6d673a4fed

View file

@ -2,8 +2,11 @@ defmodule Philomena.Images.Source do
use Ecto.Schema use Ecto.Schema
import Ecto.Changeset import Ecto.Changeset
alias Philomena.Images.Image
schema "image_sources" do schema "image_sources" do
timestamps() belongs_to :image, Image
field :source, :string
end end
@doc false @doc false