Skip to content

Foreign key constraint error upon deleting jobs #31

@PandyLegend

Description

@PandyLegend

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))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions