3d653d3fdc
This patch is twofold. First off, it provides a new schema allowing to improve the performance of `SqliteEventCacheStore` for 100_000 events from 6.7k events/sec to 284k events/sec on my machine. Second, it now assumes that `EventCacheStore` does NOT store invalid events. It was already the case, but the SQLite schema was not rejecting invalid event in case some were handled. It's now explicitely forbidden.