mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
Problems with discriminator when i use JOINED InheritanceType #5096
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @yapro on GitHub (Apr 14, 2016).
My enities:
Then i run:
And look at the table schema.
You see that Doctrine use ON DELETE CASCADE, but not use: ON UPDATE CASCADE
What option should I include to use ON UPDATE CASCADE.
I test this issues on versions:
"doctrine/orm": "^2.4.8" - "reference": "5aedac1e5c5caaeac14798822c70325dc242d467"
"doctrine/orm": "v2.5.1" - "reference": "e6a83bedbe67579cb0bfb688e982e617943a2945"