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
import Ecto.Changeset
alias Philomena.Images.Image
schema "image_sources" do
timestamps()
belongs_to :image, Image
field :source, :string
end
@doc false