I’m using Laravel’s Supervisor for queue management, and added the failed_jobs table by using the default commands (
php artisan queue:failed-table +
A job sometimes fails, but the failed_jobs table is never filled because it apparently tries to add a record without a primary key. I have no idea where in Laravel to have it generate a uuid.
I find issues like
Duplicate entry '014c3080-3ee3-4198-946c-dfe1d8d858a7' for key 'failed_jobs_uuid_unique', but that has a different cause. My application doesn’t even generate a uuid.