Skip to content

Commit

Permalink
OP-344: Mapping fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jkindly committed Aug 12, 2024
1 parent 8d7e4ad commit 5b6f5c7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/config/doctrine/Collection.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

<field name="type" column="type" type="string" length="250" nullable="true"/>

<many-to-many field="pages" target-entity="BitBag\SyliusCmsPlugin\Entity\PageInterface">
<many-to-many field="pages" target-entity="BitBag\SyliusCmsPlugin\Entity\PageInterface" inversed-by="collections">
<cascade>
<cascade-all />
</cascade>
Expand All @@ -31,7 +31,7 @@
</join-table>
</many-to-many>

<many-to-many field="blocks" target-entity="BitBag\SyliusCmsPlugin\Entity\BlockInterface">
<many-to-many field="blocks" target-entity="BitBag\SyliusCmsPlugin\Entity\BlockInterface" inversed-by="collections">
<join-table name="bitbag_cms_section_blocks">
<cascade>
<cascade-all />
Expand All @@ -45,7 +45,7 @@
</join-table>
</many-to-many>

<many-to-many field="media" target-entity="BitBag\SyliusCmsPlugin\Entity\MediaInterface">
<many-to-many field="media" target-entity="BitBag\SyliusCmsPlugin\Entity\MediaInterface" inversed-by="collections">
<cascade>
<cascade-all />
</cascade>
Expand Down

0 comments on commit 5b6f5c7

Please sign in to comment.