Skip to content

Commit

Permalink
Add AuditableWithDeletesTrait doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
yajra committed Sep 19, 2019
1 parent c3207a3 commit 3a3319b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -54,6 +54,9 @@ Schema::create('users', function (Blueprint $table) {
});
```

Afterwards, you need to use `AuditableWithDeletesTrait` on your model.


## Dropping columns

You can drop auditable columns using `dropAuditable()` method, or `dropAuditableWithDeletes()` if using soft deletes.
Expand Down

0 comments on commit 3a3319b

Please sign in to comment.