Fixed invalid SQL in taskHistory table definition