Skip to content

Commit 0e428f7

Browse files
committed
Update doctrine.md
1 parent 1ee84a8 commit 0e428f7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Resources/doc/doctrine.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ None of the Doctrine projects currently allow overwriting part of the mapping
2929
of a mapped superclass in the child entity.
3030

3131
If you need to change the mapping (for instance to adapt the field names
32-
to a legacy database), the only solution is to write the whole mapping again
32+
to a legacy database), one solution could be to write the whole mapping again
3333
without inheriting the mapping from the mapped superclass. In such case,
3434
your entity should extend directly from `FOS\UserBundle\Model\User` (and
35-
`FOS\UserBundle\Model\Group` for the group).
35+
`FOS\UserBundle\Model\Group` for the group). Another solution can be through
36+
doctrine attribute and relations [overrides](http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/inheritance-mapping.html#overrides.)
3637

3738
**Warning:**
3839

0 commit comments

Comments
 (0)