Insert a timestamp to keep track of the current writer position

def set_writer_position(self, name, timestamp):
        """Insert a timestamp to keep track of the current writer position"""
        execute = self.cursor.execute
        execute('DELETE FROM gauged_writer_history WHERE id = %s', (name,))
        execute('INSERT INTO gauged_writer_history (id, timestamp) '
                'VALUES (%s, %s)', (name, timestamp,))