storing both begin/end offset for a log session in sqlite