Skip to content

Commit 55442a1

Browse files
authored
Update README.md
1 parent 0f83054 commit 55442a1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ class User extends Model
3434

3535
```
3636

37+
To generate an auditlog model / migration for your models, use the following command:
38+
39+
```sh
40+
php artisan make:model-auditlog "\App\User"
41+
```
42+
43+
Replace `\App\User` with your own model name. Model / table options can be tweaked in the config file.
44+
3745
### Testing
3846

3947
``` bash

0 commit comments

Comments
 (0)