prooph / pdo-event-store

PDO implementation of ProophEventStore http://getprooph.org
BSD 3-Clause "New" or "Revised" License
111 stars 56 forks source link

What's the reasoning behind the current maximum length for event names? #231

Closed MetalArend closed 3 years ago

MetalArend commented 3 years ago

Currently almost all implementations of the PostgresPersistenceStrategy have a hard-coded maximum length of 100 characters for the event_name. Is there a reason to keep this hard-coded to 100? Or is there some other limit we must keep in mind to make sure no other code trips over longer event names?

prolic commented 3 years ago

You can change this length according to your needs.There is no requirement to have a certain length.