mirror of
https://github.com/philomena-dev/philomena.git
synced 2025-01-20 06:37:59 +01:00
fix schema def
This commit is contained in:
parent
46ab13261c
commit
6d673a4fed
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue