ewallet/src/Adapters/Doctrine/Application/Resources/config/Application.DomainEvents.StoredEvent.dcm.xml
<?xml version="1.0" encoding="UTF-8"?>
<doctrine-mapping xmlns="http://doctrine-project.org/schemas/orm/doctrine-mapping"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://doctrine-project.org/schemas/orm/doctrine-mapping http://raw.github.com/doctrine/doctrine2/master/doctrine-mapping.xsd">
<entity
name="Application\DomainEvents\StoredEvent"
table="domain_events"
>
<id name="id" type="integer" column="event_id">
<generator strategy="AUTO" />
</id>
<field name="body" type="text" />
<field name="type" type="string" />
<field name="occurredOn" column="occurred_on" type="datetime" />
</entity>
</doctrine-mapping>