Add warning to Association Mapping chapter that referencedColumnName have to primary key columns
This commit is contained in:
parent
f4074dbe1d
commit
c876f9edb2
@ -384,6 +384,11 @@ Or you can trigger the validation manually:
|
|||||||
If the mapping is invalid the errors array contains a positive
|
If the mapping is invalid the errors array contains a positive
|
||||||
number of elements with error messages.
|
number of elements with error messages.
|
||||||
|
|
||||||
|
.. warning::
|
||||||
|
|
||||||
|
One mapping option that is not validated is the use of the referenced column name.
|
||||||
|
It has to point to the equivalent primary key otherwise Doctrine will not work.
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
One common error is to use a backlash in front of the
|
One common error is to use a backlash in front of the
|
||||||
|
Loading…
x
Reference in New Issue
Block a user