you can use the [withDefault](https://laravel.com/docs/master/eloquent-relationships#default-models) function to create the root node for you in the class model this probably won't work for the topics model though
you can use the withDefault function to create the root node for you in the class model
this probably won't work for the topics model though