Actions
Bug #13313
closedDeleting host with job invocation in past causes foreign key violaton
Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Difficulty:
Triaged:
Description
PG::Error: ERROR: update or delete on table "hosts" violates foreign key constraint "template_invocations_hosts_id_fk" on table "template_invocations" DETAIL: Key (id)=(11) is still referenced from table "template_invocations". : DELETE FROM "hosts" WHERE "hosts"."type" IN ('Host::Managed') AND "hosts"."id" = $1
Actions