Doctrine Adapter for ProophEventStore
#CAUTION: The Doctrine adapter is not compatible With prooph/event-store v7. Use the new PDO Event Store instead! Support for the adapter will end at 31 December 2017.
The database structure depends on the stream strategies you want to use for your aggregate roots. You can find example SQLs for MySql in the scripts folder and an EventStoreSchema tool which you can use an a doctrine migrations scirpt.
The database schema is only a suggestion. The
aggregate_typecolumn has a length of 150 chars. If you have very long class names you should increase this length, otherwise it could lead to errors in your application. This length should be equal with the
aggregate_typelength in the snapshot table.
When using MySQL while enabling
oneStreamPerAggregate option, the transaction handling is broken!
For more information see: https://github.com/prooph/pdo-event-store/issues/6
Released under the New BSD License.