cron-bundle icon indicating copy to clipboard operation
cron-bundle copied to clipboard

Foreign key constraint error upon deleting jobs

Open PandyLegend opened this issue 5 years ago • 0 comments

Me again!

If I remove a cronjob and run php bin/console shapecode:cron:scan , I get a database error

SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (mydb.cron_job_result, CONSTRAINT FK_ABC123XYZ FOREIGN KEY (cron_job_id) REFERENCES cron_job (id))

PandyLegend avatar May 02 '20 19:05 PandyLegend