[PR #952] [MERGED] Add DB-level onDelete CASCADE example #8943

Open
opened 2026-01-22 16:02:27 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/952
Author: @simshaun
Created: 2/11/2014
Status: Merged
Merged: 2/11/2014
Merged by: @Ocramius

Base: masterHead: patch-1


📝 Commits (1)

  • 57ac3bd Add DB-level onDelete CASCADE example

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 docs/en/reference/yaml-mapping.rst (+1 -0)

📄 Description

This adds onDelete: CASCADE to the address 1-1 relationship just to show how to map a db-level cascade delete.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/952 **Author:** [@simshaun](https://github.com/simshaun) **Created:** 2/11/2014 **Status:** ✅ Merged **Merged:** 2/11/2014 **Merged by:** [@Ocramius](https://github.com/Ocramius) **Base:** `master` ← **Head:** `patch-1` --- ### 📝 Commits (1) - [`57ac3bd`](https://github.com/doctrine/orm/commit/57ac3bd4be9e0682fcffd309d482782a6268865c) Add DB-level onDelete CASCADE example ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/en/reference/yaml-mapping.rst` (+1 -0) </details> ### 📄 Description This adds `onDelete: CASCADE` to the `address` 1-1 relationship just to show how to map a db-level cascade delete. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:02:27 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8943