Skip to content

Commit 09794a3

Browse files
committed
Fix wrong ID mapping in first steps
1 parent 9cc65d9 commit 09794a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/first_steps.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ in a number of different formats including XML or directly inside the
9696
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">
9797
9898
<document name="Acme\StoreBundle\Document\Product">
99-
<field fieldName="id" id="true" />
99+
<id />
100100
<field fieldName="name" type="string" />
101101
<field fieldName="price" type="float" />
102102
</document>

0 commit comments

Comments
 (0)