-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archiving doesn't trigger default Eloquent events #25
Comments
I've rewritten the archive method in my code to make it like the unArchive method in structure, but since I don't understand why you handled the archive and runArchive methods the way that you did, I don't know if I'm missing something. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This seems to be because you're using $query->update($columns) instead of $this->update($columns). Why is your runArchive method so... weird when your unArchive method looks as expected?
The text was updated successfully, but these errors were encountered: