config/doctrine/LaravelUserNotifications.Models.Notification.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://doctrine-project.org/schemas/orm/doctrine-mapping.xsd">
<entity name="LaravelUserNotifications\Models\Notification" table="notifications">
<id name="id" type="string" length="36" column="id">
<generator strategy="NONE" />
</id>
<field name="text" type="text" />
<field name="date" type="datetime"/>
<field name="updated" column="updated_at" type="datetime"/>
<field name="user" type="string" length="255" />
<field name="read" column="`read`" type="integer" length="2" />
</entity>
</doctrine-mapping>