Skip to content

Commit

Permalink
Fix wrong ID mapping
Browse files Browse the repository at this point in the history
  • Loading branch information
alcaeus committed Nov 6, 2019
1 parent db6a8b0 commit 1e5806a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">

<document name="TestDocuments\AlsoLoadDocument" db="documents" collection="users">
<field name="id" id="true" />
<id />
<field name="createdAt" type="date" also-load="createdOn,creation_date"/>
</document>
</doctrine-mongo-mapping>

0 comments on commit 1e5806a

Please sign in to comment.