Bug - deleting awareness programs leaves undeleted associated records

On e3.23.1:

  • create an awareness program
  • start it so notifications are sent, users are added to the audience tab, missing trainings tab, etc
  • once you see records on all tabs
  • delete the awareness program
  • you will see all records on all those tabs are still there, they should have been deleted (sent to trash)

note: this bug requires a migration to ensure we delete records for awareness programs that have been deleted already at customer instances.

github: https://github.com/eramba/eramba/issues/4668