Fix: wrong named user func in notes schema
This commit is contained in:
parent
728382919b
commit
8b8465e72a
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ defmodule NotesApp.Notes.Note do
|
||||||
schema "notes" do
|
schema "notes" do
|
||||||
field :title, :string
|
field :title, :string
|
||||||
field :content, :string
|
field :content, :string
|
||||||
belongs_to :user, NotesApp.Users.User
|
belongs_to :user, NotesApp.Accounts.User
|
||||||
|
|
||||||
timestamps(type: :utc_datetime)
|
timestamps(type: :utc_datetime)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue