Skip to content

Commit

Permalink
Add option to associacion.
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherhero committed Mar 29, 2023
1 parent f471fcd commit 2f6ef0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Resources/config/doctrine/CustomerBonusPoints.orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
</many-to-one>

<many-to-many field="bonusPoints" target-entity="BitBag\SyliusBonusPointsPlugin\Entity\BonusPointsInterface">
<cascade>
<cascade-all />
</cascade>
<join-table name="bitbag_bonus_points_customer">
<join-columns>
<join-column name="bonus_points_customer_id" referenced-column-name="id" nullable="false" on-delete="CASCADE" />
Expand Down

0 comments on commit 2f6ef0d

Please sign in to comment.