Skip to content

Usage of Auditing for Deleted Models #857

Discussion options

You must be logged in to vote

How could I get all audits for my (lets stay in the example) Job model - including those of deleted jobs?

From db with Audit model, use a where for model_type='App\Models\Jobs', still laravel eloquent , you can do whatever you want

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@parallels999
Comment options

Answer selected by parallels999
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants