Skip to content

Commit

Permalink
Merge pull request #208 from hmonglee/patch-1
Browse files Browse the repository at this point in the history
Delete a page having at least a channel
  • Loading branch information
bitbager authored Oct 25, 2018
2 parents 3da99cf + 70c33ee commit ba9ec10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Resources/config/doctrine/Page.orm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ BitBag\SyliusCmsPlugin\Entity\Page:
joinColumns:
page_id:
referencedColumnName: id
onDelete: CASCADE
inverseJoinColumns:
channel_id:
referencedColumnName: id
Expand Down

0 comments on commit ba9ec10

Please sign in to comment.