Skip to content

Commit 995e871

Browse files
Update README.md
Fixed flush command. Changed from modelCaching:clear to modelCache:clear.
1 parent 8736fa3 commit 995e871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ $results = $myModel->disableCache()->where('field', $value)->get();
141141
### Manual Flushing of Specific Model
142142
You can flush the cache of a specific model using the following artisan command:
143143
```sh
144-
php artisan modelCaching:clear --model=App\Model
144+
php artisan modelCache:clear --model=App\Model
145145
```
146146

147147
This comes in handy when manually making updates to the database. You could also

0 commit comments

Comments
 (0)