Skip to content

Commit

Permalink
1751: Fix doctrine mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
turegjorup committed Sep 12, 2024
1 parent ce9a1bf commit bce96ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Entity/FeedItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ class FeedItem
#[ORM\Column]
private ?int $id = null;

#[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'feedEvents')]
#[ORM\ManyToOne(cascade: ['persist'], inversedBy: 'feedItems')]
#[ORM\JoinColumn(nullable: false)]
private ?Feed $feed = null;

#[ORM\OneToOne(cascade: ['persist', 'remove'])]
#[ORM\OneToOne(inversedBy: 'feedItem', cascade: ['persist', 'remove'])]
private ?Event $event = null;

#[ORM\Column(length: 255, nullable: true)]
Expand Down

0 comments on commit bce96ac

Please sign in to comment.