Excep parameter to exclude models from pruning

PHOTO EMBED

Thu Dec 02 2021 07:47:42 GMT+0000 (Coordinated Universal Time)

Saved by @sayedsadat344 #php #laravel

$schedule->command('model:prune', [
    '--exclude' => [Test::class, Example::class],
])->daily();
content_copyCOPY

https://laravel-news.com/laravel-8-74-0