mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-22 07:52:43 +00:00
Fix leftover from Picture -> Media rename
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f4d0e6d4b3
commit
d041d274e0
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ defmodule Mobilizon.Posts.Post do
|
|||
field(:visibility, PostVisibility, default_value: :public)
|
||||
belongs_to(:author, Actor)
|
||||
belongs_to(:attributed_to, Actor)
|
||||
belongs_to(:picture, Picture, on_replace: :update)
|
||||
belongs_to(:picture, Media, on_replace: :update)
|
||||
many_to_many(:tags, Tag, join_through: "posts_tags", on_replace: :delete)
|
||||
many_to_many(:media, Media, join_through: "posts_medias", on_replace: :delete)
|
||||
|
||||
|
|
Loading…
Reference in a new issue