Restore soft deletes
michail1982 opened this issue · 1 comments
michail1982 commented
i think right method weel be
Post::onlyTrashed()->where('author_id', 1)->restore();
not
Post::withTrashed()->where('author_id', 1)->restore();
this avoid unnessesary model loading
PovilasKorop commented
Thanks @michail1982 nice catch, fixed.