Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2976

[GH-952] Add DB-level onDelete CASCADE example

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Security Level: All
    • Labels:
      None

      Description

      This issue is created automatically through a Github pull request on behalf of simshaun:

      Url: https://github.com/doctrine/doctrine2/pull/952

      Message:

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

        Activity

        Hide
        Doctrine Bot added a comment -

        A related Github Pull-Request [GH-952] was closed:
        https://github.com/doctrine/doctrine2/pull/952

        Show
        Doctrine Bot added a comment - A related Github Pull-Request [GH-952] was closed: https://github.com/doctrine/doctrine2/pull/952
        Show
        Marco Pivetta added a comment - Merged: https://github.com/doctrine/doctrine2/commit/9b0d7dde91a669f37509dfbf57c2fb78d2cc113f

          People

          • Assignee:
            Marco Pivetta
            Reporter:
            Doctrine Bot
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: