Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Add new event \Doctrine\ORM\Tools\ToolEvents::postGatherRelationsSql, allow to custom relationship table. #11457

Open
ywisax opened this issue May 15, 2024 · 0 comments

Comments

@ywisax
Copy link

ywisax commented May 15, 2024

Feature Request

Q A
New Feature yes
RFC no
BC Break no

Summary

Current version, doctrine/orm will generate a relationship table contains only two column(just like user_id, role_id).
It is hard for developer to extends this table, like add create time column, create user id and so on.
Add new \Doctrine\ORM\Tools\ToolEvents::postGatherRelationsSql and trigger in \Doctrine\ORM\Tools\SchemaTool::gatherRelationsSql, then developer can write custom logic for they owned.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant