mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
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?
Original Pull Request: https://github.com/doctrine/orm/pull/8523
State: closed
Merged: No
This PR implements feature requested in #8345. It handles all existing drivers (probably upcoming Annotation will need a little change if it gets merged).
I based my work on last comment by @beberlei - it translates fields and columns to indexes only in
SchemaTool::getSchemaFromMetadata. I haven't found the need to translate them beforehand, but maybe I've missed something.I have adapted metadata tests to cover all cases when reading entities and added simple test for translating fields to columns.
In my implementation one can use both
fieldsandcolumnsat the same time and they will be merged.