Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Component/s: None
-
Labels:None
Description
The current documentation for the Doctrine2 YAML Mapping ( found here: http://www.doctrine-project.org/projects/orm/2.0/docs/reference/yaml-mapping/en#yaml-mapping )
introduces a wrong format for the identifier colum specification.
I had to go dig around in the source code to find the correct format.
For anyone less persistent or not accustomed to check the source code of a library this would result in serious headache.
WRONG:
id:
id:
type: integer
generator:
strategy: AUTO
RIGHT: (at least with current trunk )
id:
type: integer
id: true
generator:
strategy: AUTO