Skip to content

Conversation

@gdebrauwer
Copy link
Contributor

When you run model:prune command and an exception occurs during the pruning process of a single model, than the entire command will fail. I had this issue recently in a project. That meant no models were being pruned until I fixed the bug that prevented the pruning of a single model.

This PR fixes that. The model:prune command will skip the models that could not be pruned and report the exceptions that occurred when pruning those models.

@taylorotwell taylorotwell merged commit c420ccb into laravel:12.x Apr 1, 2025
40 of 41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants