Skip to content

Commit

Permalink
OP-322: doctrine relations fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Jul 2, 2024
1 parent b547cda commit 89c27cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/config/doctrine/ContentConfiguration.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
</options>
</field>

<many-to-one field="block" target-entity="BitBag\SyliusCmsPlugin\Entity\Block" inversed-by="contents">
<many-to-one field="block" target-entity="BitBag\SyliusCmsPlugin\Entity\Block" inversed-by="contentElements">
<join-column name="block_id" referenced-column-name="id" nullable="true" />
</many-to-one>

<many-to-one field="page" target-entity="BitBag\SyliusCmsPlugin\Entity\Page" inversed-by="contents">
<many-to-one field="page" target-entity="BitBag\SyliusCmsPlugin\Entity\Page" inversed-by="contentElements">
<join-column name="page_id" referenced-column-name="id" nullable="true" />
</many-to-one>
</mapped-superclass>
Expand Down

0 comments on commit 89c27cf

Please sign in to comment.