I have a model with a property called job. This property is a string of integers which is correct. I have a relationship that links an active job to a job record but Laravel casts job as an integer but it needs to be an string instead. I have tried adding the $casts attribute to the both models but it still casts it as a integer.
Anyone know how to fix this?