Checkpoint PR for my proposal to use SQLite for event storage.