Message Repository Table Schema
composer require eventsauce/uuid-encoding
The UUID Encoding package allows customizing how the UUIDs used for the event ID and the aggregate root ID are converted to string when written to the database.
Binary UUID Encoder
BinaryUuidEncoder encodes the UUID using
$uuid->getBytes() to generate a binary
text version of the UUID, which should be used when the database does not have a
String UUID Encoder
StringUuidEncoder encodes the UUID using
$uuid->toString() to generate a plain
text version of the UUID, which should be used when the database has a
Custom implementations of
UuidEncoder can be used to optimize UUID storage as needed.