Skip to content

Commit

Permalink
Add missing onDelete action to Media.orm.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radekbernatek authored and damonsson committed Feb 19, 2020
1 parent a9e908c commit 59c274e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Resources/config/doctrine/Media.orm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ BitBag\SyliusCmsPlugin\Entity\Media:
joinColumns:
media_id:
referencedColumnName: id
onDelete: CASCADE
inverseJoinColumns:
section_id:
referencedColumnName: id
Expand All @@ -49,6 +50,7 @@ BitBag\SyliusCmsPlugin\Entity\Media:
joinColumns:
media_id:
referencedColumnName: id
onDelete: CASCADE
inverseJoinColumns:
product_id:
referencedColumnName: id
Expand Down

0 comments on commit 59c274e

Please sign in to comment.