Also, I found this issue here: https://github.com/laravel/framework/issues/2114
And alexrussell has an excellent point about the workaround to simply do $model->foreign_id = null
. Eloquent timestamps are not updated and Eloquent model events don't get fired either.
Yeah, and Taylor's bad mood strikes again. Very unproductive response and closing the issue just 'cause.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community