I have got 3 models: User, Sensor, Data; Each user can have multiple sensors and each sensor can have multiple data. I\'m new to laravel, but this code seems logical to me but i