laravel-database-schedule icon indicating copy to clipboard operation
laravel-database-schedule copied to clipboard

True Laravel 11 support

Open dorgan opened this issue 11 months ago • 1 comments

Since kernel.php no longer exists we needed to get the artisan commands another way. Also it seems during setup that it tries to do some scheduling before the schedules table exists, so added some code for that.

dorgan avatar Dec 23 '24 21:12 dorgan

PR Summary

  • Enhancement to Permission Sets Introducing expanded command permissions within database-schedule.php. This enhancement gives a broader access control and functionality, including commands for installation, channel control, about, documentation, model management, storage unlinking, language publishing, and completion.

  • Preventive Check in Database Scheduler A checking mechanism has been incorporated in DatabaseSchedulingServiceProvider.php. This update confirms the existence of 'schedules' table before executing the schedule, thereby reducing potential errors or exceptions.

  • Upgraded Command Retrieval Updated CommandService.php replaces the use of Kernel with the Artisan facade for retrieving commands. This change enhances the process of fetch all commands, improving efficiency and the overall performance.

what-the-diff[bot] avatar Dec 23 '24 21:12 what-the-diff[bot]