[Coffee] [PATCH event-logging 1/2] Add event tables to the database