Pivot not saving to db?
Thoughts on what might cause a select pivot not to save to the db? But manually entering to the DB loads it perfectly.
4 Replies
ummmm filleable?!
Filleable on a pivot? This is a schema form too. It does save but then it's deleted by the looks of it
I know why, because I have two relationships using the same Companies table. But I have a where query on the belongsToMany that doesn't seem to be getting applied. So it inserts it, but the second field after owningCompanies is empty so deletes the records blugh.