Add an event and its corresponding key to the store.

def add_event(self, key, event):
        """Add an event and its corresponding key to the store."""
        assert isinstance(key, str)
        assert isinstance(event, bytes)
        self.conn.execute('INSERT INTO events(uuid,event) VALUES (?,?)',
                          (key, event.decode('utf-8')))