ansible / eda-server

Event Driven Ansible for AAP
Apache License 2.0
66 stars 42 forks source link

fix: ensure on_delete behavior for process parents in ActivationRequestQueue #937

Closed Alex-Izquierdo closed 3 months ago

Alex-Izquierdo commented 3 months ago

With the changes done in https://github.com/ansible/eda-server/pull/656 to support parent processes we lost the DB constraints of the foreign key and the related DB consistency. This PR recovers the behavior of on_delete=models.CASCADE for its relation with activations and event streams.