You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Resources/doc/doctrine.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -29,10 +29,11 @@ None of the Doctrine projects currently allow overwriting part of the mapping
29
29
of a mapped superclass in the child entity.
30
30
31
31
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
33
33
without inheriting the mapping from the mapped superclass. In such case,
34
34
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.)
0 commit comments